my $.02 is that I have a mild preference for a third option:
foo[0] + bar[0]
> Where exactly should your block delimiters go
> and should they be indented?
Block delimiters...why be redundant? The fact that your blocks are indented
should be enough information. ;-)
> -----Original Message-----
> From: Robert Holmes [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 11, 2006 10:17 AM
> To: FRIAM
> Subject: [FRIAM] Whitespace
>
> So which is "better" coding style, foo[ 0 ] + bar[ 0 ] or
> foo[0]+bar[0]? Where exactly should your block delimiters go
> and should they be indented? Here's a chap who suggests
> bypassing whitespace debates by building the coding style
> into the language: if you don't follow the style you generate
> a compiler error. Might seem crazy, but I actually find it
> quite compelling, particularly for projects where I'm
> collaborating on common code.
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=74230
>
> Robert
>
>
============================================================
FRIAM Applied Complexity Group listserv
Meets Fridays 9a-11:30 at cafe at St. John's College
lectures, archives, unsubscribe, maps at http://www.friam.org