Hacker News new | ask | show | jobs
by cycomachead 1431 days ago
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.)