You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows using `this.blocks.doSomething()` instead of `this.deps.blocks.doSomething()` throughout the class, while still preserving:
199
-
-**Explicit dependency tracking**: All dependencies are declared in the constructor
200
-
-**Grep-ability**: Can search for `this.blocks` to find all usages
201
-
-**Auditability**: Clear what external dependencies the class uses
202
-
-**No behavior change**: Functionally equivalent to `this.deps.*` access
198
+
199
+
-**Explicit dependency tracking**: All dependencies are declared in the constructor
200
+
-**Grep-ability**: Can search for `this.blocks` to find all usages
201
+
-**Auditability**: Clear what external dependencies the class uses
202
+
-**No behavior change**: Functionally equivalent to `this.deps.*` access
203
203
204
204
**Note**: Both `this.deps.*` (maximum audit clarity) and locally bound references (improved readability) are acceptable patterns. Choose based on the specific needs of each subsystem.
0 commit comments