Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: [RFC][ANNOUNCE] blindscan: auto search everything
Roberto Ragusa wrote:
Are you sure about this "//" rule? No mention in CodingStyle and
too much infringing code already accepted.
Single line comments "//" are not part of the ANSI/ISO C programming
language standard. They were only introduced in the C99 standardisation.
As to the CodingStyle of the Linux Kernel? I personally despise it, but
at least it is a consistent standard - the greatest benefit can be had
if everyone sticks to it. There are programs out there (such as indent)
that can go a long way towards reformatting the code to what it needs to be.
An interesting bit of history, the // comment came from BCPL (pre-cursor
to C), but K&R C dropped it. It was resurrected for C++ by Bjarne
Stroustrup.
--
"Beauty lies in the hands of the beer holder."
Home |
Main Index |
Thread Index