
Dec. 27, 2019
3:56 a.m.
Excuse me, but extraordinarily I agree with D'Aprano :D Usually if you want the first element of an iterable, you have just to do: ``` it = iter(iterable) first = next(it) ``` Yes, `first()` is really sexy... but a simple question: where is the iterator? With the code above, I can continue to use the iterable to access the rest of the iterable. `first()` creates an iterator, uses it and throw it away. What a waste! Greta Thunberg is very angry with you all :D So 200 posts for one line less? I really don't catch the point.