4 ms·
I think C++ really just has bad defaults for many of its features. It's understandable given the age of the language, but I wish compiler developers would agree
by dd_ 3y ago
I think C++ really just has bad defaults for many of its features. It's understandable given the age of the language, but I wish compiler developers would agree on a set of new default attributes for various language features and make a flag to enable them. That way, older style code can still compile but newer code isn't cursed with explicit attribute hell.
- pjmlp 3y agoThat will never happen given how many compilers exist, each with its own set of use cases. They can agree at ISO level but even then it isn't enough, as proven by the whole set of issues that are currently being ignored on platforms where breaking the ABI is tabu.