Bravo on bringing Joel's work here. I've been reading his stuff for a while.

First, I think we need to define the difference between Functional and Technical specification. I'll have to agree with joel here in his definitions, and I'll just re-iterate them for those that didn't read:

That being said, on with your questions.

1.) How detailed do your specs have to be?

As detailed as you can make them. You need to realize that both types of specifications are living, breathing documents. Changes in one are reflected in the other, and vice-versa. In my opinion, your technical specifications should eventually get down to the prototyping level for functions and methods. Most of these will have a described interface that the programming team agrees on. Who ever is developing it isn't nailed down to anything specific as long as it meets the interface requirements (subject to code review, of course).

As the code and these different interfaces mature, you will find different sections of the specifications being redefined to reflect these ideas and lessons learned. You might realize that an object structure that you were going to rely on wasn't going to cut it, and you might have to redefine the structure, and scrap that piece (or at least small pieces) of the specification. Don't sweat it, redefine. It will make for a stronger end result.

2.) How do you start writing them?

One technique that I use is to find each piece of functionality defined in the functional spec, and rephrase them as the question: "How would I?". Start accumulating your answers to these questions, and you should start to see your objects, as well as your application flow, take shape. Much of the basic shell is going to be described in the func spec, especially if someone was keen enough to use a UML, or screenshots, pictures, pencil drawings, etc.

3.) Do you get a general outline or do you go over each task as they come up?

Well, you'll need a general outline of the tasks that you know about. Keep in mind that you'll be adding to that outline as those tasks begin to get defined in more detail based on what has come before, and new tasks are discovered.

C-.


In reply to Re: How to write technical specs ? by cacharbe
in thread How to write technical specs ? by dwiz

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.