Smart Programmers Write STUPID Code (2022)
Decoupled code is much harder to follow. I see people thinking decoupling is always good, but it&#x27;s not. It can be good when things are actually de-coupled... but I&#x27;ve seen coworkers decouple logic from HTTP handlers for example where that made no sense because the whole purpose of the logic was to do stuff for HTTP... so if you want to ensure that if certain conditions are met, a HTTP header has a certain value... well you can&#x27;t anymore unless you abstract away even the concept of HTTP headers! The whole thing becomes a mess out of the good intentions of the developer. Do not ever decouple things that are intrinsically coupled.