5 ms·
Or as paraphrased by Jeff Atwood: There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.
by chmaynard 4y ago
Or as paraphrased by Jeff Atwood:
There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors.
- nine_k 4y ago"There are two hard problems in computer science: that we have only one joke, and that the joke is not very funny" (q)
- whartung 4y ago"Now, you have two problems."
- drawkbox 4y agoNaming is so key to getting the right vibe for a feature/product/codebase. This is a perfect encapsulation of the feeling when naming a variable: https://twitter.com/jenmsft/status/1381006038590099456?lang=en https://twitter.com/jenmsft/status/1381006038590099456?lang=...
- btschaegg 4y agoThe irony here: In my experience, if that's the face you make while naming a variable, you're probably good. What always gets me is code written by someone who just goes "well, there's already `process`, so let's call this method `process2`".
- karmakurtisaani 4y agoYeah that's infuriating. Clearly the proper naming is newProcess.
- RedShift1 4y agoThat's old new. New new is ReduxProcess.