chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce pro


From: John Cowan
Subject: Re: [Chicken-hackers] [PATH] Add an Emacs dir-locals file to enforce project style
Date: Sun, 15 Dec 2013 12:19:15 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

Scripsi:

> The Eighth Commandment for C programmers says:

I should add that some people think the 1TBS prohibits braces around
single-statement bodies, which is not true, and I myself think that
all C bodies should have braces, for where there is one statement
today, there may well be two tomorrow.

See <http://en.wikipedia.org/wiki/Indent_style#K.26R_style> for details.
This article also notes that "BSD style" is ambiguous, because it can mean
either Allman style or KNF style.

-- 
La mayyitan ma qadirun yatabaqqa sarmadi                            John Cowan
Fa idha yaji' al-shudhdhadh fa-l-maut qad yantahi.              address@hidden
                --Abdullah al-Hazred, Al-`Azif      http://www.ccil.org/~cowan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]