C commenting style?

Mike or Penny Novack stepbystepfarm at mtdata.com
Wed Jan 30 09:57:23 EST 2008


As a practical matter, depends on whether you are looking at that code 
with an editor that is "language sensitive" or not. Probably why seeing 
so many different styles.

For example -- take style 2
   Less keystrokes (a true R&K tradition) and as long as you are using a 
language sensitive editor that "knows" C syntax the fact that the 
intermediate lines of a comment aren't marked is irrelevant (the entire 
comment is recognized and showing up in the COLOR assigned to "comments" 
-- clearly viable as such). BUT (and this is a big but) were you looking 
at or working on C code with an ordinary text editor this is a terrible 
style for you.

Michael




More information about the gnucash-devel mailing list