5 Matching Annotations
- Mar 2021
-
github.com github.com
-
Using ::delegates works exactly like the Forwardable module in Ruby, with one bonus: It creates the accessors in a module, allowing you to override and call super in a user module or class.
-
- Feb 2021
-
www.huffpost.com www.huffpost.com
-
I am a delegation junkie. Whenever possible, I assign tasks and responsibilities originally assigned to me onto others.
-
-
-
github.com github.com
-
One of the main reasons to work with components is re-usability and portability, but also a delegation of responsibilities. Adding a component should be as easy as simply adding the component without having to know the inner workings (or markup) of this component. A consumer should only be aware of the properties, methods and events of a component. In order to style a child component one has to be aware of the markup as well, which violates this 'delegation of responsibility'-principle.
-