I've been using JavaScript daily for 7 years, and I'm not able to remember the syntax of a JavaScript for loop. Despite this fact, I'm a rather successful freelance developer. Recently I even had the awesome opportunity to work for Facebook, as the D...

Markdown supported · ⌘↵ to post
This is one of the most stupid article I began to read (could not read until the end, too painfull).
There is a lot of uses for indexed array access (including, for instance, comparing or using two correlated arrays with only one loop, instead of a nested loop).
Using a function call requires stack manipulation, context switching, etc. Is slow as hell. Thousands of times slow (but don't trust me, do a test, as any scientific method requires).
You are just a bad programmer and hashnode just became a Medium competitor (in article quality).
Philippe Bernard
Dev, author of Resoc, RealFaviconGenerator and other services
Thank you for this article! I'm pleased to see I'm not the only one to not remember stuff considered basic. My favorite: finding out I've already upvoted the SO answer I'm looking for :)