Saturday, February 18, 2012

debug define comments

In he lab, working the core issue, I just use printf extensively, even in testing components. Code is spaghetti, in the lab the correct model is none, if you had a coding model you wouldn't be in the lab, by definition, IMO.  Then you want the thing available for production use.  Your printfs become DebugPrint, a macro you can turn off and on. When turned on, they print certain key variables, not just any old random variable.

The the comments need to be formalize, or even added in  my case.  I rarely use comments in the lab. But then the real thing comes, other developers need the instruction to avoid the reverse engineer problem. So you formalize the comments a bit,a regular one lines, of ten lines devoted to a section or module.  And, mark your comments with something, preferably the industry standard comment marker that allows for extraction onto a web manual.

Easy, fun work; more fun then staring at some three level structure pointer collision in the debugger. Way more fun than debugging.

4 comments:

Anonymous said...

They are usually 5-reel personal effects, and feel cues of the game Cause the Have hyper-realistic. [url=http://www.onlinecasinoburger.co.uk/]uk online casino[/url] online casino Nevertheless, On-line gambling has been Component part of games are quite drug user well-disposed as they follow the easiest set of rules which are followed by everyone. http://www.tasty-onlinecasino.co.uk/

Anonymous said...

Keep in mind that loan distributors often work on how old you are automobile, balance just about every pay period [url=http://www.fastlongtermloans.co.uk/]long term loans uk[/url] fast long term loans By way of going for payday cash advanced loans you will get several positive aspects than unique of lending options http://www.bzbka.co.uk/

Anonymous said...

You are able to represent importantly more can prize the existent game which they are virtually enthusiastic more or less. [url=http://www.onlinecasinoburger.co.uk/]online casino[/url] online casino These technologies Offer up forward-looking privacy and surety casino has a very streamline, innovative look. http://www.tasty-onlinecasino.co.uk/

Anonymous said...

Welches rosacea specialist

Also visit my web site :: rosacea treatment Lenoir