125 points by rossta 2 weeks ago | 27 comments
afraca 1 week ago
Later I found out laziness in the whole system by default leads to some difficult issues, which quite a few people seem to agree with. Simon Peyton Jones (Haskell co-creator) apparently has said "The next Haskell will be strict". (https://news.ycombinator.com/item?id=14011943)
drnewman 1 week ago
whateveracct 1 week ago
Laziness hasn't killed Haskell's usefulness. However, it is something Haskellers take for granted. I can't tell you how many times they "just turn on -XStrict" and are surprised their program gets slower.
adsteel_ 1 week ago
fredrikholm 1 week ago
rossta 1 week ago
Syntaf 1 week ago
Excuse me while I go back through my code and make sure I’m using lazy enumeration wherever I’m iterating over large collections….
dylan604 1 week ago
pansa2 1 week ago
Python 3 changed to being lazy-by-default. I assume that improves CPU/memory usage, but in some cases it does have less predictable behaviour. I can see why Ruby, with its goal of "developer happiness", would choose to retain the predictable behaviour of eager-by-default.
saagarjha 1 week ago