Re:Ask HN: What bits of fundamental knowledge are productivi...
by bmj on Wednesday March 30, 2022 @08:52AM
(#30854456)
I think it's also possible that some of these lead to a I've-got-my-hammer-and-everything-is-a-nail approach to problem solving. You may then find yourself parsing HTML with regexps (https://web.archive.org/web/20111009133402/http://stackoverf...), which is never a good idea.
[ Parent
| on HN ]
Re:Ask HN: What bits of fundamental knowledge are productivi...
by noduerme on Wednesday March 30, 2022 @09:24AM
(#30854880)
I'm a big fan of `for (x of y)`, skip the functional version, manipulate variables in and out of scope, hell, use globals. Sometimes you show up wearing a tux, other times you just have to rock the party in a hoodie.
Re:Ask HN: What bits of fundamental knowledge are productivi...
by brianhorakh on Wednesday March 30, 2022 @09:54AM
(#30855276)
This is called "law of the instrument"