Pure Dependency Injection in D

Dependency injection A little modified quote from Wikipedia, Dependency injection article (This quote is licensed under CC BY-SA 3.0): In software engineering, dependency injection is a technique whereby one object (or static method) supplies the dependencies of another object. A dependency is an object that can be used (a service). An injection is the passing of a dependency to a dependent object (a client) that … Continue reading Pure Dependency Injection in D

complex engineering

A Programming Task I Overengineered

There is a C library librdf. I wrote its D wrapper to be used for my revolutionary software XML Boiler. I did for most kinds of objects *WithFinalize and *WithoutFinalize. *WithoutFinalize holds a copy of a C library handle, which should not be finalized when the D struct holding it is destroyed. I wrote even an article on this my “great” idea. But now I’ve … Continue reading A Programming Task I Overengineered