News for hackers. Stuff that matters.
Re:If you gaze into nil, nil gazes also into you by tptacek on Thursday July 28, 2011 @04:52PM (#2818877)
This is very consultant-y code. It's great billable time to have another reason to take 1 line of code with a predicate and "refactor" it into a broccoli floret of mock classes and exception handlers. But really, nothing insulates a competent programmer from needing to know what a library is going to return.
Re:If you gaze into nil, nil gazes also into you by jakehow on Thursday July 28, 2011 @05:33PM (#2819031)
Exactly, they have traded .nil? for .present? and added complexity.