4 ms·
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
by xpaulbettsx 13y ago
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/Netflix/RxJava
* https://github.com/ReactiveCocoa/ReactiveCocoa https://github.com/ReactiveCocoa/ReactiveCocoa
- yareally 13y ago> Even down to the method names (trySetException). At least they're no longer capitalized, as .net naming standards generally follow.
- yapcguy 13y agoWill they be visually cleaner? Look at all those square brackets in the Bolt examples. [[[[[self findAsync:query]
- memracom 13y agoLots 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 https://leanpub.com/iosfrp
- seanmcdirmid 13y agoThese 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.