www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/06/16/11:23:07

Date: Fri, 16 Jun 1995 10:24:36 -0400
From: kagel AT quasar DOT bloomberg DOT com
To: dj
Cc: junaid AT barney DOT eng DOT monash DOT edu DOT au, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: CODING STANDARDS: A GUIDE
Reply-To: kagel AT ts1 DOT bloomberg DOT com

    > 	if (condition1 || condition2) {
    > 	} else {
    > 	}
    This syntax really bugs me and makes it harder for me to read the
    code.  I prefer this way:

	if (condition1 || condition2)
	{
	  ...
	}
	else
	{
	  ...
	} 

And this syntax REALLY bugs me and makes it harder for me to read the code. I
prefer the first way.  And I prefer four spaces to tabs or two space or three
spaces, and especially to tabs masked as four spaces by vi.  

HOWEVER!  This formatting war IS GETTING SILLY can we drop it and just agree
that when you work on someone else's code you follow their conventions and that
only DJ has the right to reformat any code as he is the one doing most of the
work here (similarly for anyone else responsible for some subset of the DJGPP
universe).

I've seen and heard this fight for fifteen years and while it may be new to
some of us it is a no-win scenario.  Remember the lesson of "War Games": "The
only winning move is to not play!" 

ENOUGH IS ENOUGH!

-- 
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com

Variety is the soul of pleasure.  --  Aphra Behn

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019