Do you use a design document?

Programming, for all ages and all languages.
User avatar
gravaera
Member
Member
Posts: 737
Joined: Tue Jun 02, 2009 4:35 pm
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.

Re: Do you use a design document?

Post by gravaera »

Yo:

@OP: Definitely -- I wouldn't be able to stay focused without my notebooks. I've solved bugs, thought of new functionality, and come to understand various trying concepts thanks to them :)

--Peace out,
gravaera
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.
evoex
Member
Member
Posts: 103
Joined: Tue Dec 13, 2011 4:11 pm

Re: Do you use a design document?

Post by evoex »

Is there anybody willing to share their design documents (just one or two pages, as examples)? I just wonder the way you guys design. This is actually a flaw in my coding; I don't do this often enough.

Or, if you're not willing to share, how do you design it? What does it look like; is it UML; what level of detail do you include, etc?
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: Do you use a design document?

Post by Owen »

Probably not the most common case, but you can find one of mine here
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Re: Do you use a design document?

Post by JamesM »

It requires login, Owen.
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: Do you use a design document?

Post by Owen »

JamesM wrote:It requires login, Owen.
Whoops! Fixed.
cxzuk
Member
Member
Posts: 164
Joined: Mon Dec 21, 2009 6:03 pm

Re: Do you use a design document?

Post by cxzuk »

i remember seeing some uml diagrams for pedigree.. but cant seem to find them again.
User avatar
neon
Member
Member
Posts: 1567
Joined: Sun Feb 18, 2007 7:28 pm
Contact:

Re: Do you use a design document?

Post by neon »

Lionel wrote:neon:
I meant not of the actual code being documented, merely the main concept. Do you have any "Overview" documentation, that gives you a general overview of what your OS does?
Actually I don't use any general design document...not for the whole software system, anyways. Wouldn't even know where to start with it. Its why I prefer writing documents on "components" like the executive or boot library rather then a single document that attempts to describe all... even if it is just general material.
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
User avatar
bluemoon
Member
Member
Posts: 1761
Joined: Wed Dec 01, 2010 3:41 am
Location: Hong Kong

Re: Do you use a design document?

Post by bluemoon »

evoex wrote:Is there anybody willing to share their design documents (just one or two pages, as examples)? I just wonder the way you guys design.
I usually write document in 2 forms: white paper and slide.
White paper:

Code: Select all

Front page: title, subtitle, tags, change log
TOC
Introduction
Goals
Overview (concept and architectural)
Component Relation Diagrams
Detail (Depends on what to document)
Requirements
Appendix
References
Slide is much shorter, which is usually a few diagrams to highlight a design or concept; and its sometime embedded in a white paper.
Congdm
Member
Member
Posts: 48
Joined: Wed Aug 01, 2012 10:53 am

Re: Do you use a design document?

Post by Congdm »

Thinking in general first takes a lot time but save you from many problems later. It worth your time.

I even code on paper first before turning the editor on. Why? Because sitting in front of computer and staring into monitor for a long period of time will make yourself tired. When the brain is tired, it is more likely to make mistakes. Coding without design first will make you thinking a lot while coding. It make you tired quickly and more likely to make bug.
Post Reply