Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So, what we have here are:

a. Post #1 gives strawman/overly simplistic argument for why callbacks are hell and FRP is great, and obscures example by comparing crappy syntax to elegant syntax.

b. Post #2 gives straw man/overly simplistic argument for why callbacks are fine, and correctly points out the syntax issue.

My takeaway is that both posts have some merit, but what we really need are some examples that go Apples to Apples on syntax AND show when callbacks are fine and when they aren't. Along with some realistic discussion of the complexity inherent in things like aggregating callbacks.

Because, you know, we can only eliminate so much accidental complexity, and then we'll run into inherent complexity. And speaking as a fellow who appeals to authority by mentioning his experience writing a tool that did runtime analysis of multi-threaded applications... There is a lot of inherent complexity involved in writing truly asynchronous and parallel code when failure is expected.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: