Re-read through Mike Acton's "Typical C++ Bullshit" last night, and noticed a weird comment near the end:
"References? Useless cruft"
So... what's the problem with c++ references? Is it just that you don't get to control when the pointer deref happens?
@bobvodka huh, never thought about references that way, that's really interesting. I'm going to ask @ work today how people interpret a function signature with references.
We always use them to communicate that an arg can't be null, but I wonder if people also expect it to communicate single vs array.