Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
alert2504y@momad next requires an iterator and doesn't skip non true values if I understood you correctly
-
alert2504y@SortOfTested and get some free swag
But really there is nothing I can do, it's an old topic and been around for quite a while -
I would think a certain amount of easy implementations are important to keep around a steady pool of introductory or junior contributors to pull from in the future.
Related Rants
first() function in python...
Because it does not exist
Why have a any() that returns True if any of the items in iteratable are True
But what if I need to get the item itself...
In C it's as easy to write as the any func The performance will be the same
rant
wk229
python