My most unpopular opinion: Modern C++17 is significantly less safe than C.
-
-
I think that is arguable, the most common cases of UB w/ ptrs and refs I am guessing will lagrely overlap but I don't know of any numbers
-
That’s my main issue with C++: it feels safer than C, so people code like it is, but when you you look closely it actually isn’t any safer.
-
The false sense of security causes people to not code defensively the way they would in modern C.
-
That's like saying a truck is less safe than a bicycle, because you drive them differently.
-
But ... a truck is less safe than a bicycle? Like, orders of magnitude less safe?
-
Depends on whose safety you're worried about. C++ is good for your job safety, bad for other people's (users') safety.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.