Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sorry Dont mean to be a dick but i gotta be #393
What exactly did you not like? Which parts are tightly coupled?
I feel we have already documented the benefits of the framework well, however if you still don't understand them I recommend you read around the topic of Functional Reactive Programming. It essentially boils down to reducing the complexity of programs by minimising state.
For what it's worth, Microsoft have been doing fantastic work in this area of computer science of late. Their ReactiveExtensions framework is excellent.
Have you got any constructive feedback for us? As opposed to just abuse that is.
I think the value relies in
That's a very common thing to do, observing a property, and taking action on change. It mostly boils down to a matter of taste, in this case you don't like this particular flavour, no need to be an ass about it when expressing your distaste in the RAC flavour (it sorta tastes like BBQ :-)
So sorry to reply here but i am not here to abuse like bullshit or anything like that...
The real truth is : The learning costs of the project made me crazy.
I have got a new project which uses lots of this framework, and I need to add some features to the App. Then the headache came: I read the code and found the way to add a feature is very easy, adding a viewcontroller, get something from some storage instance...BUT here, everytime I found I just need a very simple NSArray from an async thread, the method/function I found to do that thing returns a
Then I open the ReactiveCocoa's page and start reading documents...
Always facing problems such as: "oh there is a signal ... and another signal... oh 5 blocks created by that signals... oh what's the combineLatest mean why not just appending the array but using a combining function?...okay go to the doc and go back... which block I am in??? ok restart reading from the very beginning..."
I don't know what the real problem is, but I do not know how to handle the framework. I feel I really don't like it.
@croath We try very hard to make it as easy to pick up and use as something this different from imperative programming can be, but since we all have some familiarity with FRP and related concepts it's sometimes difficult for us to have the right perspective. We appreciate any kind of feedback: feel free to open issues if you encounter problems using RAC, debugging code written with it or if the documentation is unclear about something.
Objective-C's type system is too inexpressive to properly describe signals (see #732). This is a very big problem when someone needs to use RAC code someone else has written.
I think in general we haven't considered the case of indirect RAC users often enough: users of framework written with RAC that don't use RAC themselves.
@denis-mikhaylov @Coneko Thanks a lot for your help.
Sorry for my improper expression, what I mean is 'nested' but not 'recursive'.
for example I need an array of full data:
Then I saw code like that:
Will u be confused or not? All I see were lots of RAC apis nested and nested with many and many brackets and blocks.
And during the operations, although I got things done, I didn't know something about the logic in the RAC beacause I copied code from other similar method for the reason I didn't wanna break things.Such as:
And then I remember from the beginning I just wanna a very simple array with some simple opreations. But to adapt to former programmers code, I feel like being inhaled in a black hole :(
@croath RAC code certainly has a learning curve to it. We try to lessen it as much as we can, but a lot of it is unavoidable. It is, unapologetically, a different way of writing code.
We're always happy to answer questions, so feel free to open new issues with whatever questions you have.
@croath You'll need to choose between learning ReactiveCocoa, or ditching most or all of the code that uses ReactiveCocoa. As pointed out, there is a learning curve, and in all honesty, you need to be motivated to learn RAC in order to be successful with it. You may not be able to learn it in a "short time", but you can learn it quicker by asking questions, the community is dedicated and helpful.