Sobotka: Why GIMP is inadequate
Posted Jan 13, 2011 12:16 UTC (Thu) by error27
In reply to: Sobotka: Why GIMP is inadequate
Parent article: Sobotka: Why GIMP is inadequate
C99 is also banned from Linus's kernel, nuff said.
Kernel style is one variable declaration per line. The declarations are separated from the code by a blank line. C99 allows people to mix code and variable declarations, but in the kernel it's considered horribly bad style.
The kernel style is to use kernel-doc comments and so C99 comments are considered non-standard and thus wrong.
On the other hand, the kernel has pretty much all been updated to use C99 style structure initialization and it uses __func__ instead of using the old GCC extensions. And the kernel often takes advantage of the latest features in GCC where possible. For example, v2.6.37 uses the new local label declarations.
When you say that we've banned C99 code that makes it sound like we're retarded. There are tons of things that we hate but only because they are ugly and not because they are new.
to post comments)