rrees.me
Programming to Interfaces Anti-Pattern
Here’s a personal bete noir. Interfaces are good m’kay? They allow you to separate function and implementation, you can mock them, inject them. You use them to indicate roles and intera…