4 ms·
Functional Python for me breaks down with the lazyness of generators. Sure, map returns a generator and that's fine. But you can't pass the result to multiple c
by maweki 6y ago
Functional Python for me breaks down with the lazyness of generators. Sure, map returns a generator and that's fine. But you can't pass the result to multiple consumers as the generator has an internal state.
It's like a weird version of linear types where every value is only allowed to be used once.
- a-dub 6y agoyeah, it became less fun in python 3.