3 ms·
Avoid writing naive setters and getters And let clients manipulate the class properties directly. After all encapsulation is overrated. Best use only global va
by Revisor 15y ago
Avoid writing naive setters and getters
And let clients manipulate the class properties directly. After all encapsulation is overrated. Best use only global variables.
Don't copy variables for no reason
Forget about the distinction between input and output variables and about readability. Those are overrated too.
The advice in this article is either trivial or wrong.