I don't understand what phrase direct component object means in context of Law of Demeter's article. As I can see the term was taken from David Block's article. So, what is the term and where can I get real life examples and more info about it?
1
There are 1 best solutions below
Related Questions in OOP
- How do I apply the interface concept with the base-class in design?
- Creating multiple instances of a class with different initializing values in Flutter
- System.InvalidCastException while inheriting a class
- How to add logging to an abstract class in php
- creating cutscenes using OOP and pygame
- What effect does the `virtual` modifier have on an interface member?
- How to pass the value of a function of one class to a function of another with the @property decorator
- Creating a C++ Class Instance for every server request?
- Dart OOP programming
- Containing Object Design
- Clean architecture/OOP and optimization: how to organize for classes with same logic
- How to get 5 LEVEL hierarchy users from database using PHP and MYSQL
- TypeError: unsupported operand type(s) for /: 'property' and 'complex'
- How can I refer to this metaclass inside a metaclass without specifying its name in the code?
- Why customed "-eq" do twice in Powershell?
Related Questions in COUPLING
- Abaqus Coupling with For Loop
- Why you don't need to change the Java class in loosely coupling?
- mpirun, Python, and task mapping
- When we change the implementation of a method, do we have to recompile dependent classes?
- Reducing Decoupling in VBA Object Event Wrapper
- Modeling (apparent?) dependency between DDD Bounded Contexts
- Reduce coupling between abstract and concrete classes
- External Coupling vs Common Coupling
- TwinCAT 3.0 NCI Master/Slave
- How to distinguish which following archetecture have lower coupling?
- How to add a character to a specific column?
- How to avoid coupling of Activity and Fragment (MVVM/NavController)
- What type of module coupling is it when a function calls another function within itself?
- Copy value of partnered (infant) variable to original (mother)
- How to properly add dependecy of entity class to other classes and reduce coupling
Related Questions in LAW-OF-DEMETER
- Law of Demeter original definition
- Does a.dateTimeObject.format() violates the law of Demeter?
- How Law of Demeter and Vector interacts?
- Understanding Demeter's Law
- Do objects saved in state/passed as props in React violate the law of Demeter?
- Law of demeter: Exposing intern functionality, because of earlier extending?
- Is this a good example of Law of Demeter?
- Breaking the "Law of Demeter" and possible solution to this issue
- Law of Demeter and local variables inside function
- How to correctly pass sockets to a function's parameters
- Law of Demeter can easily be bypassed?
- A factory method may violate the Law Of Demeter?
- Retrieve current user in Symfony app while respecting LoD
- Why PMD give me law of demeter violation in this get function?
- does iterator pattern violates law of demeter? ( least knowldge principle)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Direct component objects in this case are member variables of the class. For example:
This example shows the various method calls that are considered to be in accordance with the Law of Demeter. The member variable
servicein this case is a direct component object.