[CALL FOR TESTERS] New system call: abort2()

Václav Haisman V.Haisman at sh.cvut.cz
Thu Dec 15 15:35:26 PST 2005


joerg at britannica.bec.de wrote:
> On Fri, Dec 16, 2005 at 12:17:14AM +0100, Václav Haisman wrote:
> 
>>I would like to comment on FreeBSD style(9) a bit. Why does not mention
>>or even encourage C99 style // comments? They are nice when one wants to
>>comment out bigger chunks of code with /**/ comment.
> 
> 
> Use #if 0 ... #endif for that.
Well, that was the only option in time of C90, now we have IMO better
facility for this. Also most editors do not mark such code as commented
out which might a bit inconvenient.

> 
> Joerg
> 
> 
>>On the similar note, the ability to move declarations closer to the
>>point of use in code is IMO nice feature, too. The style(9) doesn't
>>mention this either.
> 
> 
> Because it is not necessarily a good thing.
I am of different opinion but I will leave it at that.

> 
> Joerg

Vaclav Haisman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 546 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20051216/47c02596/signature.bin


More information about the freebsd-hackers mailing list