[FRIAM] Whitespace

Stephen Guerin stephen.guerin at redfish.com
Mon Sep 11 12:31:20 EDT 2006


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:robert at holmesacosta.com] 
> 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
> 
> 




More information about the Friam mailing list