A curated list for when naming things is done right.
Famously...
There are only two hard things in Computer Science: cache invalidation and naming things.
― Phil Karlton
Concepts in computer science are usually nothing tangible so it's no surprise that naming things is hard. Nevertheless, we do come up with clever, creative and funny names. Some of them so established, we never pause and admire.
This is a curated list for when naming things is done right.
if ("red" === color) {
instead of if (color === "red") {
because it reads as, “if red equals the color”, similar to the way the Star Wars character Yoda speaks.