[MacRuby-devel] Weird behaviour for a weird line of code

Caio Chassot lists at caiochassot.com
Tue Nov 16 16:20:36 PST 2010


On 2010-11-16, at 21:22 , Ryan Davis wrote:
> 
> an assignment inside a conditional is
> 
> do_something(x) if x = logical_statement

I'm particularly fond of:

  x = logical_statement and do_something(x)

Hate me now.



More information about the MacRuby-devel mailing list