Better HN
topnewbestaskshowjobs
Log inSign up

bzdzb

1 karma · joined Oct 9, 2012 (14y ago) · 1 submissions

Submissions

comment 14y ago · link · parent

I agree. The alternative as you state is nested conditionals. Yuck! An alternative construct I have seen and used is to wrap code in a do {} unless(0) block and break to a single failure return or complete the block to a single success return.