C commenting style?
Ian Lewis
ianmlewis at gmail.com
Wed Jan 30 10:35:15 EST 2008
I would guess 2 is probably best for editor/compiler compatibility but I
personally prefer 6 as well since I can toggle comments on large swaths of
code by selecting it with a mouse and running a macro.
2008/1/30, Mike or Penny Novack <stepbystepfarm at mtdata.com>:
>
> 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
>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
More information about the gnucash-devel
mailing list