3 ms·
I appreciate your reply. But frankly, why would someone "accidentally" copy something by value? I don't mean to sound arrogant but if someone is writing C++ at
by rsp1984 7y ago
I appreciate your reply. But frankly, why would someone "accidentally" copy something by value?
I don't mean to sound arrogant but if someone is writing C++ at a level where he/she does accidental copies then that's a very clear sign to me to stay the hell away from move semantics and other advanced features.
I personally find things being copied by default a nice feature. It's more consistent than "PODs by value, objects by reference" such as in Java.
- steveklabnik 7y ago> But frankly, why would someone "accidentally" copy something by value? Well; https://groups.google.com/a/chromium.org/forum/#!msg/chromium-dev/EUqoIz2iFU4/kPZ5ZK0K3gEJ https://groups.google.com/a/chromium.org/forum/#!msg/chromiu...
- damnyou 7y agoThere is no such thing as a bad programmer, only bad tooling. C++ is bad tooling.
- cozzyd 7y agoThe horrors I've seen in academic code speak otherwise.
- patrick5415 7y agoA craftsman doesn’t blame his tools.
- damnyou 7y agoA great craft recognizes how important good tools are.