Dependency inversion and dynamic constants

From Dave Thomas’ blog, an excellent short entry illustrating what containers like Spring do with dependency, and how to improve on the problem of too much magic with “dynamic constants”.

Barebones examples are in ruby and needle.

Leave a Reply