3 ms·
Man I love Haskell, but this shows how... I'd say immature the language is when it comes to creating software for a specific use. Business logic is already sep
by Deestan 5y ago
Man I love Haskell, but this shows how... I'd say immature the language is when it comes to creating software for a specific use.
Business logic is already separated into other parts of the code, and now I have one concept I need to implement: "loop until exit". I would expect a mature programming language to assist me in mapping this to code as directly as possible, but this is not the case here.
The single concept has to be implemented by combining multiple new concepts: monad combination, lifting, mzero as a terminator... which would be fine if any of these concepts assisted in separating logic, but they do not. They only serve to build the concept of "loop until exit".
- dwohnitmok 5y agoThe author is for some reason not using the most direct loop until exit construct. See https://news.ycombinator.com/item?id=28703896 https://news.ycombinator.com/item?id=28703896