3 ms·
So I fully agree here because techniques from one language often lead to much better technique in a language of a different paradigm. For instance, I now use m
by nikhizzle 8y ago
So I fully agree here because techniques from one language often lead to much better technique in a language of a different paradigm.
For instance, I now use many of the functional techniques I’ve learned in JavaScript to write less, easier to read code instead of more loc of imperative code. I’ve also worked at a company that had many functional patterns implemented in php, and frankly made the language quite decent.
In terms of the time issue, I spend about 15 minutes a day just before bedtime learning new languages. I probably manage to do this 4 days out of every 7.
- 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.
- leshow 8y ago> In terms of the time issue, I spend about 15 minutes a day just before bedtime learning new languages. I probably manage to do this 4 days out of every 7. Do you find this actually works? Personally I've read entire books for a language and then gone to write some code in it and realized I knew almost nothing. The only way I've found to learn a language is by writing it.
- nikhizzle 8y agoYes, though I tend to then go and use those languages for small suitable tasks pretty often.