Y
Hacker News
new
|
ask
|
show
|
jobs
by
ssteel
1686 days ago
The if-statements are not unnecessary if you want to handle errors in place and make the code highly readable. Just because you don't like it doesn't make it wrong.