Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
bzdzb
· 14y ago · 0 comments
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.
Comments
No comments yet.
Better HN