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



> 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.

Too new. /**/ comment out is bogus anyway. #if 0 ... #endif is better.

> 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.

C doesn't allow it, or didn't until recently. That style tends to
lead to really gross things too. Functions should be short enough
that it doesn't matter.

But changing style(9) is hard. We have better things to do with our
lives. :-)

Warner
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: [CALL FOR TESTERS] New system call: abort2()
    ... In message, Warner Losh writes: ... the ability to move declarations closer to the ... >> point of use in code is IMO nice feature, ...
    (freebsd-hackers)
  • Re: convert SW 2006 to Sw 2005 ? ?
    ... This is a big double edge sword, IMO. ... ability to just open files and have them be backwards compatible. ... what would the "Flex" feature be before 2005? ...
    (comp.cad.solidworks)
  • Re: Windows 2000 and Word Versions - Compatibility
    ... It never seemed to affect my ability to work. ... which is when that feature has been useful. ... Word MVP web site http://word.mvps.org ... What do you mean by "automatic file save feature"? ...
    (microsoft.public.word.docmanagement)
  • Re: fixed duration projects
    ... feature of Project is its ability to predict the impact of management ... Project is its ability to predict the outcome of MY decisions on how I ... Adding resources will not always shorten the duration - pregnancy ... Fixed duration works well for this ...
    (microsoft.public.project)
  • Re: Good Guidelines and examples of Good Stakeholder Requests and Product Features
    ... > "The ability to provide an Encounter identity to the telephony System ... > and/or to hold a voice recording identity against each recording ... reference to the "feature" data structure to be a two-digit field...) ...
    (comp.object)