Re:Simplify Your Code: Functional Core, Imperative Shell
by Twisol on Tuesday October 28, 2025 @02:43PM
(#45737002)
Everything "potentially leads" to adverse outcomes if not applied with due care and cognizance. That includes KISS and YAGNI. If you're looking for a principle you can apply in 100% of cases without consideration of context, I'm afraid you'll need to shop elsewhere.
[ Parent
| on HN ]
Re:Simplify Your Code: Functional Core, Imperative Shell
by netdevphoenix on Friday October 31, 2025 @05:52AM
(#45770160)
> if not applied with due care and cognizance
That's the gotcha though. Everything applied with due care and cognizance works. This is not what is being discussed here. What the author suggests does lead to overengineering though. Think of stereotypical enterprise Java code if you need examples