Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
hrvach
· 7y ago · 0 comments
Thanks for pointing it out, I'll try to stick to a simple if-else construct in the future!
Comments
[–]
FullyFunctional
7y ago
There is certainly no consensus that it's the preferred style. Some designers prefer this explicit (and more verbose) style but others prefer the less verbose one (with default first, business logic next, and reset values at the end).