Echo JS 0.11.0

<~>

ianwalter 2289 days ago. link 2 points
I haven’t been waiting for this. I’ve been pretty happy with Express actually.
matsojda 2288 days ago. link 0 point
Well, that's why we have a variety of solutions here, in the Node.js world ;-)
ianwalter 2284 days ago. link 1 point
Yea my point was that the title is a little pretentious. I bet it's just because you're very excited for NestJS. I am happy for you and don't mean to rain on your parade. It's just a little tiring for me to see new frameworks solve problems that I (and others on my team) don't have when there are other problems I would love to see solved. For example, Node still doesn't have a batteries-included framework that has community support like Rails and Django. Express has stood the test of time and is great for what it is, but it will never fill that role.
mxxx 2292 days ago. link 2 points
I've never been 100% clear on why you'd want dependency injection in a situation like this... Can anyone elaborate on what the real benefits would be?
israelidanny 2288 days ago. link 4 points
You wouldn't ... Dependency Injection is a design pattern that circumvents some of the limitations of a static OOP language, which JS isn't  ...
matsojda 2291 days ago. link 4 points
When you inject your dependencies, you can easily mock them in the test. Or change if needed. All you want to care about is the interface.