I've seen a few flame-fests over white-space. It's certainly a drag
against the adoption of python.
On 12/6/05, Dominic Fox <[log in to unmask]> wrote:
> The programming languages Python and Haskell both use whitespace -
> specifically, indentation - in meaningful ways, for example:
>
> for foo in bar:
> print foo
> print bar
>
> in Python does something quite different to
>
> for foo in bar:
> print foo
> print bar
>
> Some people really can't stand this; I don't see how it's any worse
> than using curly braces {} myself (e.g.
>
> for foo in bar {
> print foo
> }
> print bar
>
> versus
>
> for foo in bar {
> print foo
> print bar
> }
> )
Umm. Everyone knows that it should be
for foo in bar
{
print hello;
print world;
}
Although the two artifacts are syntactically equivalent.
Roger
|