Hacker News new | ask | show | jobs
by honest_joe 3994 days ago
It might be ugly but there are more uglier things in JS :P..callbacks and so on.

The way he wants to solve it however uglier imho

1 comments

Why are Callbacks ugly? I mean that's one of the best things.
They are not ugly, nested callbacks are ugly, and they are not ideal to deal with asynchronous code.
Well both things are subjectively "ugly". Functionally they are awesome.
I think most people still like callbacks, cause of their functional behavior. Currently more and more people are loving some functional language designs. Especially things like map() which always has some kind of inner function in every functional or 'kind of' functional language.