11 of 59 menu

LoD Ruleset

The LoD (Law of Demeter) set of rules for programming suggests that when developing software, interactions between different components of a system should be limited.

According to LoD rules, every component in your system must:

  • Have limited knowledge of the operation and functionality of other modules and components.
  • Interact only with those components that are allowed and be isolated from working with unfamiliar modules.

See also

  • principle SOLID,
    which sets guidelines for OOP-based software
  • principle DRY,
    which is the division of software into small components
  • principle KISS,
    which involves abandoning the complication of software
  • principle YAGNI,
    which involves the rejection of redundant software functionality
  • principle CQS,
    which specifies only one command for each function
  • responsibility separation principle,
    which is used in software development
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline