4 ms·
Would you also feel that a strict-by-default language which adds support for lazyness is a tacit admission that strict-by-default is wrong?
by Buttons840 10y ago
Would you also feel that a strict-by-default language which adds support for lazyness is a tacit admission that strict-by-default is wrong?
- throwaway110034 10y agoHow would you feel if Common Lisps suddenly started sporting infix operator notation? Haskel's alien, counter-intuitive evaluation strategy was actually marketed (circa 2010) as a powerful performance-enhancer that facilitated optimizations that were difficult if not impossible to do in a strict language like C. Instead, it ironically tends to cause more performance problems than it solves, with hard-to-debug spaceleaks capable of taking down production systems. The entire Miranda branch of the PL tree is likely going to prove to be an evolutionary dead end, and Haskell will eventually lose out to Idris or some other strict language. And I don't think it's a coincidence that the strictness pragma (which does not even give you a strict program) was added soon after Idris and the rest started getting traction.
- Jach 10y ago> How would you feel if Common Lisps suddenly started sporting infix operator notation? You mean like this? (I linked it the other day.) https://github.com/rigetticomputing/cmu-infix https://github.com/rigetticomputing/cmu-infix But one might argue that the prefix notation + macros being able to support such a library is just further testament to their use as default...
- lacampbell 10y agoIn C# or Java, it's easy to get a lazy collection and force it into a list or an array. Is it possible to do the same with haskells (lazy) lists?
- dllthomas 10y agoArray.fromList?