Skip to content

LoDRaV is a simple project thet contains examples to how follow or not the The Law of Demeter.

License

Notifications You must be signed in to change notification settings

tavaresasilva/LoDRaV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LoDRaV

LoDRaV means Law of Demeter: Respect and Violation.

LoDRaV is a simple project divided into two folders: one has the implementations and the other the abstraction and fake data.

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.

About

LoDRaV is a simple project thet contains examples to how follow or not the The Law of Demeter.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages