troyphemera
Published in

troyphemera

Dependency Injection, A Brief Monograph

Or, How To Survive Phil

Programming School Student: “Would this be considered dependency injection?”

Me: “Uhhhhh”

Integrating the SCAM service

[T]he open/closed principle states “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification”; that is, such an entity can allow its behaviour to be extended without modifying its source code. — Wikipedia

First attempt at integrating the TRUST service
Using dependency injection to integrate the TRUST service
An example of a very fake service used for testing

--

--

Mostly code…some booze…food maybe….

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store