Skip to content

“Dependency Injection” does not exist in JavaScript.

twitter.com
1 pointrevathskumar2 comments
On HN

Comments

Those of us building real apps in javascript are using angular, which certainly does have dependency injection.

(DI doesn't and never has meant reams of XML, JNDI and consultants. It's just a pattern for how you write your applications, and you can implement it just fine with ordinary code. That's always been true)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.