3 ms·
If something walks and quacks like a member variable, I'm happy to make it a member variable. Otherwise, it gets to be a function. (Obviously this doesn't appl
by gamble 18y ago
If something walks and quacks like a member variable, I'm happy to make it a member variable. Otherwise, it gets to be a function.
(Obviously this doesn't apply in languages like ObjC or C++ where accessors are often necessary for memory management)