Uploaded September 2017 | Updated September 2026, 2 weeks ago
π Survey: Please tell me your opinion on this episode
funfunfunction.typeform.com/to/sUvfTW?ep=depinjnoclass
Today, we're going to look at how you can do dependency injection, using only functions.
π Discuss this episode on Fun Fun Forum
funfunforum.com/t/dependency-injection-without-clases/2340
π Dependency Injection
youtube.com/watch?v=0X1Ns2NRfks
π Higher Order Functions
youtube.com/watch?v=BMUiFMZr7vk
π Closures
youtube.com/watch?v=CQqwU2Ixu-U
π Inversion of control
youtube.com/watch?v=-kpEP4JeEdc
π Currying
youtube.com/watch?v=iZLP4qOwY8I
π mpj on Twitter
twitter.com/mpjme
π Why become a patron?
patreon.com/funfunfunction
π Help translate the show to your language
youtube.com/timedtext_cs_panel?tab=2&c=UCO1cgjhGzsSYb1rsB4bFe4Q
The viewer I'm envisioning for this video is a person that is coming from a heavily Object-Oriented langauge like
C# or Java into JavaScript. You are used to doing things in certain ways in your other language, and you're
wondering what the best way of doing things in JavaScript are.
π Survey: Please tell me your opinion on this episode
funfunfunction.typeform.com/to/sUvfTW?ep=depinjnoclass
Today, we're going to look at how you can do dependency injection, using only functions.
π Discuss this episode on Fun Fun Forum
funfunforum.com/t/dependency-injection-without-clases/2340
π Dependency Injection
youtube.com/watch?v=0X1Ns2NRfks
π Higher Order Functions
youtube.com/watch?v=BMUiFMZr7vk
π Closures
youtube.com/watch?v=CQqwU2Ixu-U
π Inversion of control
youtube.com/watch?v=-kpEP4JeEdc
π Currying
youtube.com/watch?v=iZLP4qOwY8I
π mpj on Twitter
twitter.com/mpjme
π Why become a patron?
patreon.com/funfunfunction
π Help translate the show to your language
youtube.com/timedtext_cs_panel?tab=2&c=UCO1cgjhGzsSYb1rsB4bFe4Q
The viewer I'm envisioning for this video is a person that is coming from a heavily Object-Oriented langauge like
C# or Java into JavaScript. You are used to doing things in certain ways in your other language, and you're
wondering what the best way of doing things in JavaScript are.







![How good are class arrow functions in JavaScript?
πFramer X - better collaboration between designers and React developers
http://bit.ly/2qlI2LO
[ Forum Patrons ($2/month) only ]
π Fun Fun Forum topic dedicated to this episode
https://www.funfunforum.com/t/how-good-are-class-arrows-in-javascript/6391
[ Super Patrons ($9/month) only ]
π Behind-the-scenes retrospective of this episode
https://www.patreon.com/posts/behind-scenes-of-22510151
π Code from the episode
https://www.notion.so/maximumsheep/How-good-are-class-property-arrow-functions-1eacd85707694eb7acd711725b6b9b11
Editor and plugins
- VS Code
- Quokka (http://quokka.funfunfunction.com)
π mpj on Twitter
https://twitter.com/mpjme
π Help translate the show to your language
http://www.youtube.com/timedtext_cs_panel?tab=2&c=UCO1cgjhGzsSYb1rsB4bFe4Q
We explore class property arrow functions in JavaScript, what is the problems that they solve, and how you can use factory functions as an alternative. How good are class arrow functions in JavaScript?](https://i.ytimg.com/vi/uCuTQYf80FU/mqdefault.jpg)


