Re:Simplify Your Code: Functional Core, Imperative Shell
by regularfry on Tuesday October 28, 2025 @10:13AM
(#45733165)
Sometimes it's forced by using the wrong database in the first place, or the wrong data structure. It can be less pain to do a bit of post-processing in the application layer than to unpick either of those.
No one _should_ do that, but that's a common enough problem (that usually doesn't get found until code is running in production). I suspect with the rise of vibe coding, it's going to happen more and more.