Tabbing is the worst form of indentation. It is *much* better to use
spaces consistently.
The only real sin is not sticking to one style per project. All else is just
EXACTLY. but when i write my own program i do it to make it the way best
for me.
anyway - doing ANYHOW but including proper comments are always best.
proper comments are like this:
/* this procedure calculates ...blah blah... from data included in
tables pointed by X and Y, and stores results into table pointed by
argument Z */
someprocedure(const int *X,const int *Y, const int *Z,int length) {
someworkhere(); coded_in_any_style_may_be_mess
}
example of BAD comments:
a=b+3; //adds 3 to b and stores result to a
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "[email protected]"