News for hackers. Stuff that matters.
Re:Simplicity of Code by dwe3000 on Wednesday April 05, 2017 @09:53PM (#14047319)
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.

Re:Simplicity of Code by garagol on Wednesday April 05, 2017 @10:03PM (#14047357)
Thanks, I fixed it. Realistically lvl would never go above 3 digits, but in theory all cases should be covered, absolutely.