|
|
|
|
|
by staticassertion
3210 days ago
|
|
Really? You accept responsibility? In what way has any developer ever accepted responsibility for bad code? When an engineer is negligent and a bridge collapses, they are responsible - there's a whole system of insurance around it. When a developer is negligent and user data is compromised, do they take responsibility? No. Should the developers of C++ take responsibility? Or just the consumers of the language? Why is one different from the other? This entire argument that the users of C++ are at fault for everything is absurd. Users suffer for it, and no one truly takes responsibility. |
|
If you forgot to initialise the variable before using it - it's your problem, not the problem of the language. This is a feature of C++, not a bug. It is well documented, it is expected, and it is there for a good reason. And if you are running into this issue all the time, perhaps C++ is not for you.