Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

DEPENDENCY INJECTION

Name: Anonymous 2014-05-24 0:11

What's your opinion on DI? is it just enterprise overengineering shit or it actually makes your code better and testable?

Name: Anonymous 2014-05-25 4:40

In a nutshell, types™ are simple functions, so if function A calls function B, then A is is by definition a subtype of B. When function calls several other functions, we have multi-inheritance.

So if you want to change the way function behaves, just wrap it inside of another function.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List