Skip to content

Comment on Common Species Of Codeparent

Comments

Except it is not correct.

I like how both the student and the Startup hacker mess up bounds-checking, except the student doesn't realize it in the initial case, and the hacker misses it as the codebase gets progressively larger and he or she gets more tired.

I don't get it, what's incorrect about the code?

Try calling the function with 0 or a negative number.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.