General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
TommyJ
Kantan Coding
comments
Comments by "TommyJ" (@ImperiumLibertas) on "Kantan Coding" channel.
The code had several functions and external dependencies that could change resulting in unintended changes to the output of the function. This is what is referred to as "tightly coupled code." He uses dependency injection to resolve this issue but I don't recommend using the DI pattern especially for external dependencies. It's usually better to wrap external dependencies than to pass them in.
1