3 ms·
I have never been a big fan of javascript on the backend(or the frontend for that matter but we have no choice). A 200 l.o.c. promise chain vs a 10 liner in Py
by nickthemagicman 7y ago
I have never been a big fan of javascript on the backend(or the frontend for that matter but we have no choice).
A 200 l.o.c. promise chain vs a 10 liner in Python or PHP or Ruby?
Just feels dirty to me.
- priomsrb 7y agoYou shouldn't need promise chains nowadays since async/await is available. Also, I'd be interested to see 200 lines of idiomatic JS being written in 10 lines of idiomatic Python, PHP or Ruby if you have an example.