Hacker News new | ask | show | jobs
by dwe3000 3366 days ago
The two code examples don't do exactly the same thing. Consider lvl=1000.

That being said, I do appreciate the author's sentiment of insuring the code is easily readable by humans.

1 comments

Thanks, I fixed it. Realistically lvl would never go above 3 digits, but in theory all cases should be covered, absolutely.