From: Avdi Grimm Date: 2006-02-28T02:15:10+09:00 Subject: Re: Ruby Whitespace Semantics ------=_Part_5786_6312953.1141060495304 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline It is generally good coding style in any programming language, when continuing an expression across more than one line, to split the lines afte= r an operator or other punctuation symbol which indicates that the expression is unfinished. I.e. somefunction( ...very long argument list, more arguments) or (4 + 5) This gives the reader a visual hint that the expression is incomplete, and continues onto the next line. Ruby just uses the same heuristic that a human reader would use. ~Avdi On 2/27/06, Almann Goo wrote: > > Thanks, the semantic is clearer now even though I think it is very > clumsy. > > As an aside, it is interesting that Ruby allows for suites of > statements to be used in a grouping context (the parenthesis)--most > other languages that are whitespace sensitive don't allow this since it > gets confusing with expressions (as my example shows). > > -Almann > > > ------=_Part_5786_6312953.1141060495304--