Five years ago I held the mouse with the right hand. I’m right handed. Since then I hold the mouse with the left hand. I got used to it in three weeks. Beside that:
If it can be wired with a dependency injection framework, it does not mean, that it should be.
We have an entity and a repository interface for the entity. The repository implementation has often access to external resources like databases, files, etc. When we have the repository, we also have tests for it. What if we wanted implement another repository? Can we use the same tests?
When we need a list of values of a type Foo, it quickly comes to a type List<Foo>, which is a list of Foo and nothing more. What if different methods return different list of values that have the same type? Why won’t we create different types for lists of values? One possible step is […]