News for hackers. Stuff that matters.
Re:Why I Like Ruby by substack on Friday July 16, 2010 @11:14AM (#1521374)
I prefer:

    my_variable or raise 'Hey dude! Where's My Variable Assignment'
or else:

    my_variable.nil? and raise 'Hey dude! Where's My Variable Assignment'
since it puts what's being tested in front like with if/then but is also syntactically light-weight.

There are no comments on this comment yet.