News for hackers. Stuff that matters.
Re:Ask HN: For programming what to actively memorize? by quickthrower2 on Saturday June 06, 2020 @09:10PM (#23443834)
Memorise the idioms of your language. Eg is it “for in” or “for of” for looping through an object keys in js. It’s handy to have this in L1 cache so to speak. This won’t change for 10 years.

Have bookmarks to api docs so you don’t need to google them every time and search logically through links in those. It’s much faster to look through nodejs docs than google “how to open file in nodejs” and get a useless 200 word medium article aimed at getting its author some traffic.

Treat remembering like automation. Is it worth automating and is it worth remembering are similar questions. Y.A.G.N.I. applies where the “a” is one of [‘aint’, ‘are’].

There are no comments on this comment yet.