3 ms·
That's not how you're supposed to write a "falsehoods programmers believe about X" article. The articles that started this genre are about oversimplifications
by PoignardAzur 2y ago
That's not how you're supposed to write a "falsehoods programmers believe about X" article.
The articles that started this genre are about oversimplifications that make your program worse because real people will not fit into your neat little boxes and their user experience with degrade if you assume they do. It's about developers assuming "Oh, everyone has a X" and then someone who doesn't have a X tries to use their program and get stuck for no reason.
Writing a bunch of trivia about how null pointers work in theory which will almost never matter in practice (just assume that dereferencing them is always UB and you'll be fine) isn't in the spirit of the "falsehoods" genre, especially if every bit of trivia needs a full paragraph to explain it.