nitter
Hadi Hariri
@hhariri
10 May 2022
"I'm declaring an interface because one day I may have multiple implementations" Sure. So when that day comes, do an Extract Interface refactoring. Most IDEs do it for you in a single click. Until then, drop the interface.
141
436
74
2,920
Stefan Tilkov
@stilkov
11 May 2022
Replying to
@hhariri
It’s a great example of turning a useful pattern/idiom/solution into a bad one by applying it everywhere, regardless of contextual need
May 11, 2022 · 6:40 AM UTC
18