3 ms·
What he has said applies to any member functions. It is a nuance to have to add a parameter, but certainly it does not only apply to getter and setters. Dynami
by up2isomorphism 3y ago
What he has said applies to any member functions. It is a nuance to have to add a parameter, but certainly it does not only apply to getter and setters.
Dynamic dispatchinga are not necessarily evil, but that also doesn’t exclude C. Not sure how this idea C++ is inherently more dynamic or static comes from. For a ling time you can implement all the dynamic behavior of C++ in C, and it took C++ ‘s template as expressive as C macros.
Sometimes, less is more.that’s where C++ never gets right.