News for hackers. Stuff that matters.
Re:Expand Your Programming Vocabulary (for Beginners) by k__ on Friday February 05, 2016 @06:32AM (#11040795)
That's why it's always a good idea to look into other frameworks and languages :)

I had to do some Java stuff in university so I knew the concept of dependency injection. But in JavaScript it isn't used that often.

Probably because "classes" are simply functions there and you can store a function in a variable and pass it around without thinking about its "real" name, which already decouples things quite nicely.

There are no comments on this comment yet.