Re:WTFPython – Understanding Python through surprising snippets
by owl57 on Monday December 23, 2019 @04:57AM
(#21862590)
Imperative loop, maybe. But list comprehensions are a sublanguage imported from Haskell and looking like Haskell, so it's somewhat natural to be surprised by mutable variables here.
[ Parent
| on HN ]
There are no comments on this comment yet.