Subject: Re: KNF and braces (was: Re: EGCS 1.1 UPDATE rev. 4)
To: Dave Sainty <dave@dtsp.co.nz>
From: D'Arcy J.M. Cain <darcy@druid.net>
List: current-users
Date: 08/19/1998 08:09:49
Thus spake Dave Sainty
> I now realise that perl was designed by a brace fanatic.  I could
> never work out why perl was designed to be so ridiculously hard to
> parse, yet extra braces were added apparently for no other reason than
> to make it easier to parse (show me a human that can't parse one line
> of code without braces and I'll show you a "Visual Basic
> professional"...  Or a perl professional :).
> 
> Indenting solves the human parsing problem.  No need to strech the
> code vertically as well as horizontally.

You should try Python.  No braces on blocks.  Code block are delimited
by the indentation.  Basically, if it looks like what you meant to do,
it is what you meant to do.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.