by Robin_Message · 16y ago · 0 comments
In practice, maybe a Ruby linter could/should pick this pattern up and warn about it? It wouldn't be hard to identify functions which return a value based on a block if with no else say.
[1] http://www.gigamonkeys.com/book/beyond-exception-handling-co...
No comments yet.