Skip to content
LoDRaV is a simple project thet contains examples to how follow or not the The Law of Demeter.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
src
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md

README.md

LoDRaV

LoDRaV means Law of Demeter: Respect and Violation.

LoDRaV is a simple project divided into two layers: one that stores the interfaces and another that stores the entities.

The main program contains two examples that demonstrate how to follow or not the The Law of Demeter.

Do you know what is the Law of Demeter?

In object-oriented programming there is a recommendation called Law of Demeter or LoD which suggests that a method m of a class A should only call the methods of class A itself, objects accessible through attributes in A, objects passed as arguments to m or objects created within the m.

Read more about LoD on Wikipedia

In short: do not talk to strangers.

You can’t perform that action at this time.