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

This first "Bolt" is effectively a port of .NET's Task Parallel Library to iOS / Android. Even down to the method names (trySetException).

I may be biased, but if you're writing a complex app, you'd do better to get thee to:

* https://github.com/Netflix/RxJava

* https://github.com/ReactiveCocoa/ReactiveCocoa



Lots of people are rediscovering Functional Reactive Programming piecemeal on various different platforms. I agree with you that it is best to skip the piecemeal stuff and go directly to Reactive Extensions and its various ports such as the two links you mentioned. And for iOS/ReactiveCocoa, there is a good book on the topic https://leanpub.com/iosfrp


These libraries have nothing to do with FRP, even Rx stops at just event streams that precede FRP by many years; reactive cocoa seems to be that plus some form of data binding. I'm not even sure if calling it impure FRP is correct.


> Even down to the method names (trySetException).

At least they're no longer capitalized, as .net naming standards generally follow.


Will they be visually cleaner?

Look at all those square brackets in the Bolt examples.

[[[[[self findAsync:query]




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

Search: