When IN, OUT and IN/OUT is not enough!Filed Under: Weekly Tuesday Dose of goodness
Hi all,
Just came back from a considerable drive from Genting Highlands… (yeah I know it’s just a short distance for some…)… so, sorry for the late post. ;p
This article talks about the basic code documentations that are missing in most of the codes I’ve seen so far. In my C++ syllabus for the Intermediate course, I did mention that the minimum code documentations for the parameters of a function/method should be decorated with a IN, OUT or IN/OUT. Now, I’m not the one who invented this kind of notation.
And moreover, this notation doesn’t apply to all types of parameters. It’ll only apply to parameters passed by references or passed by pointers. This will indicate how the data will be used and handled.
However, it’s still not enough. Why?
Read on… Read the rest of this entry »
- Read More
- Admin
- 29 Dec 2009 9:03 PM
- Comments (3)