4 ms·
> A quick tip: Any time you check an object's state to decide which method to call on it, you are breaking encapsulation. Unless that object is self. But a go
by gnaritas 14y ago
> A quick tip: Any time you check an object's state to decide which method to call on it, you are breaking encapsulation.
Unless that object is self. But a good tip none the less.