David Olofson wrote:
Well, one of these days you may have to start some nice Altivec and SSE optimisation for your code... and then you might *really* need multiple lines of comments per line of code just to keep track of what register contains what set of values and explain those nice tricks you find in the course of action but that are absolutely not straighforward to understant 10 minutes from that ;-).There are 2 exceptions: assembly code (comment every line!)
Uhm... Why? ;-) *remembers the days of 68k hacking on the Amiga*
Actually, when you know a programming language like a second language, the ammount of commenting needed depends mostly on the problem; not the language.
That said, most people are not insane enough to learn any asm dialect well enough not to need serious commenting. ;-)
Sebastien
---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.
Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe