Tag Archives: waste

Brainless Getters & Setters are a Waste

Someone long ago set a pattern that all members should have a getter and setter method.  Some are persuaded that this is OO and this is encapsulation, so a lot of inexperienced programmers do this by default.  But this is a problem. Read the rest of this entry »

Leave a comment

Posted by on March 7, 2016 in Coding, Example Code, practice


Tags: , , , ,