[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: what is 'outline mode'?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-11-01 16:42:10 CET

On Fri, 2002-11-01 at 06:28, Jani Averbach wrote:
> * wearing my asbestos suit...
>
> Why on the earth gnu-style has been chosen to default coding style?

There are no compelling objective arguments in favor of a particular
indentation style. It's maybe a little sad that people couldn't agree
on a single idiom for C programming, but here we are.

At the appropriate time in the project's infancy, most of the developers
preferred GNU style. Over time, we've decided we want project-wide
consistency on some aspects of style (indentation levels and brace
placement) and file-wide consistency on others (whether you put a space
after the function name, whether you declare multiple variables on the
same line). This is mostly arbitrary; although there are plenty of
wrong answers when it comes to regulating project style (Fibonacci
sequence indentation levels!), there are lots of acceptable answers.

My experience as a programmer is that I started out very opinionated, in
favor of K&R-style four-space indentation. When work forced me to
switch to a slightly modified GNU-style, I found that I quickly became
agnostic, and rarely wince at code which is internally consistent.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 1 16:45:14 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.