Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kids dad here.

Those arrays were for a past version. I nudged him towards randomly generated question/answers. That's currently dead code.

"utah2" -- haha, his variable names are sometimes not useful here. We visited Utah months before he wrote the game, so that inspired that variable name I guess! This version I wasn't nitpicking not he code as long as it worked. The bar higher for the next version.

.. and yes, spelling issues are top thing to fix for next version! At the moment, he can code better than he can spell.

Thanks for taking a peek under the hood :)



Haha love that :) I think I'm going to start naming my variables after my vacation destinations too to flex on my teammates ;) Keep up the great work though, I'm sending this to my 12 year old brother to get him motivated


"There are two hard problems in computer science: cache invalidation, naming things, and off-by-1 errors."




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: