(Reason why: More C++ features add new, increasingly-less-obvious, ways to get use after free. In particular lambdas practically invite it, but there are lots of other such features.)
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Are you including those who use rules to ban certain old, unsafe practices? Or is the argument "it's (almost) a strict superset thus anything unsafe + existing thing is more unsafe than existing thing"?
-
It’s because more advanced C++ features, such as lambdas and references, also add more ways to get use after free.
- 7 more replies
New conversation -
-
-
ANSI C is less safe than K&R C
-
I laughed, but you might be right…did K&R C have as much UB as ANSI C?
- 7 more replies
New conversation -
-
-
that's... not close to true.
-
The lack of abstraction ability in classic C++, and in C, means it's impossible to actually write large programs without a bunch of ridiculosity.
- 3 more replies
New conversation -
-
-
C was a spike pit: simple but deadly C++ is a chainsaw pit: more advanced, more deadly
-
Somebody looked at the spike pit and instead of fixing the fact that it's a murder pit, they decided to upgrade the mechanics of it.
End of conversation
New conversation -
-
-
Yup, in agreement again. Modern C++ is a bewildering soup of features that every coder tosses together in a completely different way.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.