[M3devel] whitespace rationale?

Mika Nystrom mika at async.caltech.edu
Fri Apr 18 19:30:41 CEST 2008


Dunno, but "m3pp -callspace" does it that way... someone at SRC
liked that style??

     Mika

Jay writes:
>--_04796398-baf6-48c8-ba84-074241a4e579_
>Content-Type: text/plain; charset="iso-8859-1"
>Content-Transfer-Encoding: quoted-printable
>
>
>Does anyone know of a reason to put a space between a function and the pare=
>n to start its call?
>Other than "When in Rome"?
>
>I've long not put that in, but I see a fair amount of code that does, and a=
> fair amount of code that I didn't write that doesn't (e.g. sysutils).
>Seems to be all over the place, but a lot of Modula-3 code puts it in (not =
>that I have seen much Modula-3 code in the world...but...)
>
>Similarly for array indexing array [index] vs. array[index].
>
>(Not to mention if (expr) and not if ( expr ). Modula-3 (and Python!) doesn=
>'t require the parens so it comes up less often.)
>
>I always like to know why..
>
> - Jay



More information about the M3devel mailing list