5 Dec
2019
5 Dec
'19
8:04 p.m.
05.12.19 21:07, Guido van Rossum пише:
The case for findfirst() becomes stronger! There seem plenty of ways to get this wrong.
I write several functions every day. There are many ways to get this wrong. But I do not propose to include all these functions in the stdlib. If I want to include even a single function, I try to find several examples that would benefit from adding this function in the stdlib. If I found less examples than I expected I withdraw my idea. We still do not know a use case for findfirst. If the OP would show his code and several examples in others code this could be an argument for usefulness of this feature.