DEV Community

Discussion on: Introducing Iterator Functions package

Collapse
 
bdelespierre profile image
Benjamin Delespierre

Good job. Have you considered writing an RFC to add those methods in PHP core?

Collapse
 
doekenorg profile image
Doeke Norg

Very briefly, but I don't see this happening TBH. When I see way better features being written up as an RFC, and get shut down by the majority of the voters; I don't this will have a chance. But I'm very flattered you think this could be an RFC :-)

I am however still thinking about opening up an RFC for body-less constructors. This would encourage constructor property promotion, but in an interface like notation; without the useless empty body and curly braces. Soo much work (time) though.

Collapse
 
bdelespierre profile image
Benjamin Delespierre

You could also propose those methods for the amazing Laravel Collection object through a PR, worst thing that can happen is to bring attention to your lib πŸ˜‰

Collapse
 
bdelespierre profile image
Benjamin Delespierre

I understand. Don’t hesitate to DM me if you need an upvote or something πŸ‘