layout rule infelicity

Lennart Augustsson lennart@augustsson.net
Thu, 30 May 2002 05:54:11 -0400


Ashley Yakeley wrote:

> At 2002-05-30 02:26, Jon Fairbairn wrote:
>
> >I think this is extremely bad language design! In general I
> >like having layout rules, but
> ...
>
> What's the deal with the whole "layout" thing anyway? I've never come
> across it before in another language. Is it an academic thing?

How about FORTRAN (to a very small extent) or Python?

I used to dislike layout, but I must say that it didn't take long to become
a supporter once you start using it.

If you look at C (& offspring), it's not the {;} that makes the code
readable, it's the indentation that does.  So why not acknowledge that?

    -- Lennart