DEV Community

Discussion on: Stop coupling logic with your HTTP layer!

Collapse
 
larribas profile image
Lorenzo Arribas

Why do you think it's such a common issue?

When you couple HTTP and logic, you're trading off maintainability for easy initial development.

Why would popular frameworks recommend it as a best practice is where I get lost.

I think that is a bad tradeoff for anything beyond a small prototype or a proof of concept.