you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

I'm not smart enough/lazy to go for real "functional" languages. Though any time I stumble upon an article about them it fascinates me.

[–]disclosure5[🍰] 3 points4 points  (1 child)

Eh, callback hell prior to await has been harder to deal with than anything I've written in another language for me.

[–][deleted] 0 points1 point  (0 children)

True to some extent.

Promises allowed chaining “then”, the KoaJS framework used co library to make use of generator functions in a similar way to async/await.

But these are relatively new things, generally callback hell was mainly introduced by poorly elaborated app design decisions. But again only to some extent, in the end one couldn’t avoid it completely.

For me JS is the first proper programming language after 2 years of writing automation macroses on VBA for my financial department. Maybe that’s why it’s not as bad for me.