this post was submitted on 02 Nov 2026
194 points (97.5% liked)
Programmer Humor
34028 readers
1464 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
- If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.
founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments


The recommended ESLint rules catch most of the bad stuff, and these days this is all you need in your ESLint config to enable them:
There's one use case where
==is still commonly used:== nullmatches bothnullandundefined. Lint rules that block==usually allows thenullcase as an exception.I wonder how much bandwidth is wasted on the extra
=, since it survives minification ๐Gzip (any properly configured static server will serve compressed assets) probably compresses them down so probably a single extra byte per file
Gzip is old-school. The majority of modern sites use Brotli now. It's slower to compress, but that's not normally an issue for static resources (CSS, JS, etc) because they can be pre-compressed during the build and the web server serves the pre-compressed files instead of dynamically compressing them.