Hacker News new | ask | show | jobs
by merb 3994 days ago
Why are Callbacks ugly? I mean that's one of the best things.
2 comments

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.