Skip to content

Comment on 21 Nested Callbacks

Comments

I love that the author was persistent enough to actually get to a solution -- any solution, no matter how ridiculous -- using nothing more than Google. I can't count how many times I've tried to help someone get started on the basics of the web programming stack only to realize that the inferential distance for this person is so high that I would have to spend hours explaining things in order to help them solve the problem.

Sorry world. It's getting better. But slowly.

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.