Link Details

Link 61427 thumbnail
User 204628 avatar

By xmaniac
via internna.blogspot.com
Published: Jan 14 2008 / 18:03

How do getters interact with the Law of Demeter? Learn to avoid common pitfalls and keep your objects decoupled.
  • 13
  • 2
  • 1617
  • 532

Comments

Add your comment
User 236137 avatar

dzonelurker replied ago:

1 votes Vote down Vote up Reply

It's hopeless for Java (only) programmers. Common Java idioms are diametrically opposed to the Law of Demeter.

User 204628 avatar

xmaniac replied ago:

0 votes Vote down Vote up Reply

Quite negative IMO. From that position is obvious you won't even bother to try and solve the problem at hand

User 247828 avatar

jawngee replied ago:

0 votes Vote down Vote up Reply

Java will eat itself eventually.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.