On 6/14/07, Tim Bray <[EMAIL PROTECTED]> wrote:
Even better, bloody well use parentheses, then you don't have to clutter up your memory with this junk. Nor do the people who will have to read your code. -Tim
Stuff like render :text => 'foo' and return is widely used. As in "I've seen it in many, many places, and it always made sense". Besides, it does exactly what it says (so, readability is just fine). There are other not-so-obvious Ruby idioms. E.g. ||= as lazy initiation, foo :bar => 1, :baz => 2 as named parameters, etc, etc. Where is the line between junk and an idiom? -- Alex --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
