DEV Community

Discussion on: How I use JavaScript Promises

Collapse
 
jaakidup profile image
Jaaki

I'll tell you one thing, that Promise chain example you gave is one of the main reasons prefer other languages over JS. That can easy make some scary ugly monster code !

Collapse
 
mongopark profile image
Ola' John Ajiboye

This isn't really a problem with JS. Like others have shown it can be significantly simplified.

Collapse
 
jaakidup profile image
Jaaki

Sure, I must say that at least the new Async Await is cleaner, which is somthing I've actually used much more than Promises, as I spend more time in Go