Hacker News new | ask | show | jobs
by Demiurge 4638 days ago
That was fun! I just got in to work so I was properly sleeping. I also rarely use typeof, so I had to look up that 'integer' and 'array' do not exist :) Also, what was really annoying is the use of 'i' for the argument. That's what I exclusively use for the 'for loop' index! Tripped me up a lot, I had to consciously remind myself every time I accessed the array. Last 'also', the font is WAY too big for my small screen, the comment never fit in, I had to scroll... So I think I did bad, 12 minutes. But still fun :)
1 comments

The use of 'i' set me back a bit, too. Caused me to go into an infinite loop at one point.
Exactly this. I had to rename `i` for indexes to `j` and that really messes my head up! :(