3 ms·
Many people use the exact same argument to dismiss the entire functional programming field.
by willtim 10y ago
Many people use the exact same argument to dismiss the entire functional programming field.
- KirinDave 10y agoI'm sorry, but implicit slippery slope arguments are not a means by which one can force every functional language to run the project the way Haskell does. But it's also worth noting that this is not a rejection of the entire concept of lenses, just that right now Haskell's implementations leave a lot to be desired (e.g., abandon all error sanity, ye who enter here). Haskell is as much a research platform as a programming language, and as such it has the leisure to experiment this way. Everyone else will wait awhile for things to bake. Look what happened when Haskell built its entire stdlib on monad transformers and then we all realized they're awful compared to the alternatives.
- willtim 10y agoI mostly agree with this. But nobody is "forcing" anything, one can still use Haskell and avoid the e.g. infamous (and non-idiomatic) lens library. But just as you haven't given up on lenses, I also don't agree with the wholesale rejection of ideas based on imperfect implementations, which is what prompted my comment.
- deleted 10y ago[deleted]