Skip to content

Comment on 21 Nested Callbacksparent

Comments

I recall being a novice and learning Java, and trying to solve http://projecteuler.net/problem=5 - I had nested if statements like "if(x % 20 == 0) { if (x % 19 == 0) {..." and I was thrilled that it worked. I have since learned far better ways to accomplish things like that; but I probably wouldn't have if I had just given up in frustration and never become a professional developer. Cool job by the author in posting the original code. I'm too embarrassed to post my nested-if business :)

AboutSource Built by g1lg1l

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