Guard clauses are great, and when used appropriately clean things up.
This is pretty much my only use of the pattern.
(Ending boolean-returning methods with a ? is also a great convention in ruby.)
(Ending boolean-returning methods with a ? is also a great convention in ruby.)
No comments yet.