unread
I was simply pointing out their usefulness. I can already do these things in PHP, but it's much nicer to do them with generators.
Also, why are you so relentlessly arguing generators are hard to understand for some PHP devs? If a generator contains a return, that's a syntax error. Please explain how people will end up using generators like normal functions without causing some kind of error or exception. I don't see where the problem is?
--
Sent from Samsung Mobile
Andrew Faulds
http://ajf.me/
Alex Aulbach alex.aulbach@gmail.com wrote:
null