-
Monolithic Interfaces are the Worst
One of the projects I have at work is a web application, and it uses the repository pattern. Normally, there’s no issue here, the repository pattern is a pretty fundamentally solid pattern: encapsulate your data-access/update logic and expose only that which is necessary for the application. However, as so often happens, in this case the…
-
You’re taking Dependencies Wrong
Specifically, you’re logging wrong. Here’s the deal, we all at some point think “Oh, I need to log some information, better write an abstraction!” Because we programmers are too afraid (or arrogant) to take dependencies on someone else’s “stuff”, we always write our own abstractions. They’re usually subtly different, but the 99% similarities are: An…