Search

Archive for March 1st, 2006

How Can I Design Code Better?

Posted by GBGames on March 1st, 2006

In Getter Eradicator, Martin Fowler argues that there are cases when using getters and setters is entirely appropriate. There is the argument that using getters violates encapsulation, but Fowler argues that you shouldn’t think about hiding data so much as design decisions. The real case for avoiding getters is to discourage procedural design […]