News for hackers. Stuff that matters.
Re:“No-else-after-return” considered harmful by natrius on Sunday August 30, 2009 @10:56PM (#795325)
Guard clauses are a particular case of if statements. I agree with omitting elses when using guard clauses. A blanket rule that eliminates elses after returns doesn't make any sense.
Re:“No-else-after-return” considered harmful by njharman on Sunday August 30, 2009 @11:55PM (#795395)
Blanket rules don't make sense.