5 ms·
when I read first book of C++, author always say "in old time we did it in terrible way but now we have new features solve it!" then I found everyone say the f
by melagonster 4y ago
when I read first book of C++, author always say "in old time we did it in terrible way but now we have new features solve it!"
then I found everyone say the feature is terrible. most of famous C++ software was written in old version.
- ahartmetz 4y agoI (who writes mostly C++) noticed the pattern. I find that "this changes EVERYTHING" statements are usually overblown. Reasons are legacy code and sometimes the new thing being sufficiently verbose or just special case that I'd rather avoid using it. Range for (also "new") is std::copy_if's worst enemy...