3 ms·
It seems rude to call something a code smell the instant (or… two years before the instant?) it gets replaced. Though it is C++, where you're apparently never s
by astrange 5y ago
It seems rude to call something a code smell the instant (or… two years before the instant?) it gets replaced. Though it is C++, where you're apparently never supposed to use several of the features.
Although, I mean, iostreams is pretty bad.
- BenFrantzDale 5y agoIt’s easy to pick on C++, but you can’t have backward compatibility and foreword progress and also not have features that are considered out-of-date.
- astrange 5y agoWell that's fine, but it would be nice to have more official guidance, like editions/profiles/versions that turn things off as well as on. There are some standards, but mostly you just get self-proclaimed C++ experts telling you you suck if you write a `new` statement and don't use whatever kind of smart pointer is the right one now.
- jdsully 5y agoThere already is such a thing and its called the C++ Core Guidelines: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines