php

Generators

Finally had a project where using generators really makes sense. I like them. Not only do they save memory, they're faster to code because you don't have to initialize, update, and return the storage array.

Tags:

Subscribe to RSS - php