TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

“Dependency Injection” does not exist in JavaScript.

1 pointsby revathskumaralmost 12 years ago

2 comments

troygoodealmost 12 years ago
This tweet is a response to two tweets by Tom Dale (of Ember.js fame):<p><a href="https://twitter.com/tomdale/status/362949932740657153" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;tomdale&#x2F;status&#x2F;362949932740657153</a><p><a href="https://twitter.com/tomdale/status/362950137397522432" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;tomdale&#x2F;status&#x2F;362950137397522432</a>
lmmalmost 12 years ago
Those of us building real apps in javascript are using angular, which certainly does have dependency injection.<p>(DI doesn&#x27;t and never has meant reams of XML, JNDI and consultants. It&#x27;s just a pattern for how you write your applications, and you can implement it just fine with ordinary code. That&#x27;s always been true)