3 ms·
> I’ve also worked at a company that had many functional patterns implemented in php, and frankly made the language quite decent. Oooh, got any examples?
by ambicapter 8y ago
> I’ve also worked at a company that had many functional patterns implemented in php, and frankly made the language quite decent.
Oooh, got any examples?
- slifin 8y agoNot OP but: https://phptherightway.com/pages/Functional-Programming.html https://phptherightway.com/pages/Functional-Programming.html https://github.com/mtdowling/transducers.php https://github.com/mtdowling/transducers.php Don't forget putting a function into a function, gives you behaviour polymorphism at runtime, without inheritance or class based dependency injection
- nikhizzle 8y agoThe company I worked at was Facebook when it still ran on pure php. Much of the functional toolkit was written by Evan Priestley, who also built and still works on Phabricator.