Open zzz6519003 opened 10 years ago
It revolutionized the delegate+GCD+observer all that shitty callback are now replaced by functional statement(I think it's kind of like the DP(declarative programming), for example in Prolog, we just declare the game rules, let the computer do the algorithm crap...), plus ONE IMPORTANT THING, is that they are reactive. I think the reactive is the GIST. Think reactively.
It reminds me of the beauty of math.
Spending night reading the nice tutorial from colin http://www.raywenderlich.com/62699/reactivecocoa-tutorial-pt1
I spent a little time on some front end js framework, and the first impression is very similar to that. You just type something in a uitextfield and the callback automagically happens.(though u can easily achieve that by target-action...)
As far as I'm concerned, RACSignal is like a UNIT in RAC. You can use filter to do some query on the data, you can combine those signal and other stuff I haven't touched yet. Those RAC code are pretty cool to look at, and also feels good to write, cuz i like the feeling when you auto complete the block, and just type enter to quick complete.