Hacker News new | ask | show | jobs
by Sankozi 711 days ago
No, you do not need to design system like that. Just because there is a chance that something might change (domain logic, library/REST API), does not mean you need to create anti corruption layers everywhere. They limit problems during the (possible but not certain) change but they make code less readable, less performant and harder to test.

Always analyze and decide if it is worth it.