Paul Gielens:ThoughtsService

another Endpoint to my thoughts

News

Syndication

Ads


Favorites

Projects

ExposingInternals

Accessessors in terms of getters and setters expose the internals of a class. Designing classes without concentrating on the accessors often lead to non-oo designs, aka procedural designs. Martin Fowler wrote an interesting blog entry GetterEradicator linking to interesting writings including GettersAndSetterMethodsAreEvil.

Comments

No Comments