4 ms·
This is more or less the reason I don't like adding "const" to member functions in C++, or setting any method or field to anything but public. Working with the
by rightbyte 3y ago
This is more or less the reason I don't like adding "const" to member functions in C++, or setting any method or field to anything but public.
Working with the code base gets so annoying if you suddenly want to change something you didn't plan for.
Such changes can have a domino effect through the code.