2 ms·
Could you explain?
by rhn_mk1 6y ago
Could you explain?
- mattgreenrocks 6y agoThere's nothing wrong with pure functional programming that requires you to constrain effectful computations to certain source code areas. That other languages allow something as innocuous as `getName()` to also call `launchMissiles()` under the hood is wrong. Pure FP langs slapping you on the wrist for trying that is part of their value proposition. It's akin to saying, "why does C worry so much about memory allocation? It should know when I'm done with resources!"
- vmchale 6y agoWell, for one, "pure" and "strict" need not be opposed. You can have a strict language with an IO monad, and some people actually prefer that.