DEV Community

loading...

Discussion on: How is it like to be back from Node.js to PHP?

Collapse
lffg profile image
Luiz Felipe Gonçalves

Nice post! But about the callback hell, I would not consider it a problem anymore, as async/await, or even promises can make it go away.

Collapse
adnanbabakan profile image
Adnan Babakan (he/him) Author

This is completely true in some cases but sometimes you would still need callbacks, it's somehow inevitable! XD

Collapse
ondrejmerkun profile image
Ondřej Merkun

Actually no. You can use something like promisify or even build your own solution, but you don't need to use nested callbacks.

Thread Thread
adnanbabakan profile image
Adnan Babakan (he/him) Author

Thanks for sharing this with us. That's true but still it is a little bit of more work to be done anyways.