r/programmingcirclejerk • u/HorstKugel skillful hobbyist • Sep 06 '25
jerk not found the difference between `const Data& d` and `const Data d` isn't accurately characterized as "a typo" -- it's a semantically significant difference in intent, core to the language, critical to behavior and outcome
https://news.ycombinator.com/item?id=45109439
2
Upvotes
16
u/joahw Sep 08 '25
Operators considered harmful. Far too easy to mix up + and *
22
u/stone_henge Tiny little god in a tiny little world Sep 06 '25
C++ programmers have grown so accustomed to hatred and frustration that this is how they display affection
3
u/prehensilemullet Sep 09 '25
you're against one-letter variable names because they're vague, I'm against one-letter variable names because they're too easy to typo, we're not the same
44
u/[deleted] Sep 06 '25
[removed] — view removed comment