Y
Hacker News
new
|
ask
|
show
|
jobs
by
tigershark
3185 days ago
Using properly interfaces and implementations with an IoC container solves this problem without causing any messy if-else leakage throughout the code.