Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



> But frankly, why would someone "accidentally" copy something by value?

Well; https://groups.google.com/a/chromium.org/forum/#!msg/chromiu...


There is no such thing as a bad programmer, only bad tooling. C++ is bad tooling.


A craftsman doesn’t blame his tools.


A great craft recognizes how important good tools are.


The horrors I've seen in academic code speak otherwise.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: