2 ms·
> Would they think Python was stupid or would they be grateful that all of a sudden they could use a for loop? They would probably be at least as mystified by
by username223 12y ago
> Would they think Python was stupid or would they be grateful that all of a sudden they could use a for loop?
They would probably be at least as mystified by infinite loops as Python programmers are by space leaks.
- thinkpad20 12y agoThere are infinite loops in Haskell too. (And space leaks in python)
- username223 12y agoAre any of the space leaks available without explicit syntax, e.g. genexps? GHC is smart, but only smart enough to mostly hide your misunderstandings about what it can do with your code.
- seanmcdirmid 12y agoA space leak is simply pinning memory unintentionally, which definitely happens in most garbage collected languages. Perhaps Python programmers would be baffled by time leaks instead :)