Settings

Theme

How to live better without Dependency Injection

konmik.com

3 points by kentor 5 years ago · 2 comments

Reader

aliasEli 5 years ago

Dependency injection is an idea that looks nice in theory, but it soon becomes pretty messy in practice. Without DI it is in general not too difficult to debug how an object is created. With DI you will also have to debug through the DI code. Fixing problems with DI configurations is one of my least favorite activities.

al2o3cr 5 years ago

Say what you will about global variables, they're at least an ethos. :P

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection