- by Joel
- 01/17/2006
- Programming, Ruby
- 0 comments
I've been reading through Programming Ruby: The Pragmatic Programmers' Guide and came across this passage
Becausewhich made me laugh. But it was also a relief as it seems to indicate that Ruby programmers (perhaps unlike Perl programmers) aren't set on doing things just because they can.ifitself is an expression, you can get really obscure with statements such as
if artist == "John Coltrane"This path leads to the gates of madness.
artist = "'Trane"
end unless use_nicknames == "no"
Leave a Reply