3 ms·
But generators are inherently stateful and don't have referential transparency because of their consumption semantics.
by maweki 8y ago
But generators are inherently stateful and don't have referential transparency because of their consumption semantics.
- black-tea 8y agoYou can't get away from using state in Python because it lacks TCO.