@aral what’s your opinion on reactive programming in front-end JS?
-
-
-
@stawecki I haven’t looked at any code. Got a link to a snippet/project? -
@aral here’s a summary of “bacon.js” http://blog.flowdock.com/2013/01/22/functional-reactive-programming-with-bacon-js/ … -
@stawecki Just read through it. It just doesn’t solve a problem I have. I value literate code with clear intent over yet another abstraction -
@aral yup. I think the holy grail is managing exponential growth of complexity, but I don’t believe this is that helpful in the real world.
End of conversation
New conversation -
-
-
@jordanekay@aral@joshaber@jonsterling FRP can make your code a lot more declarative than it would be otherwise: https://github.com/joshaber/RACSignupDemo/blob/master/iOSDemo/IMMViewController.m … -
@jspahrsummers@jordanekay@joshaber@jonsterling Don’t get me wrong, it’s very clever; but the abstraction obscures the intent of the code. -
@aral Have you taken a look at "When to use RAC" here? https://github.com/ReactiveCocoa/ReactiveCocoa/blob/master/Documentation/DesignGuidelines.md …@jordanekay@joshaber@jonsterling -
@jspahrsummers@jordanekay@joshaber@jonsterling Just did. Plain Cocoa versions are literate/easy to follow. RAC versions aren’t expressive
End of conversation
New conversation -
-
-
@aral The aims of ReactiveCocoa are very good. I've tried to get into it several times, but I can't get over how complex it makes code feel -
@pilky The code I’ve seen is almost entirely devoid of intent. I don’t feel the added value of the abstraction is justified.
End of conversation
New conversation -
-
-
@aral FRP is just a different style of programming to imperative. If all you’ve used is imperative languages, it won’t be obvious at first. -
@dannygreg Hey, whatever rocks your boat :) Not my cup of tea :) -
@aral For sure. Although it’s worth reading around the subject (FRP that is not just ReactiveCocoa). I’m certainly a convert.
End of conversation
New conversation -
-
-
@aral 1 normal line of Cocoa turned into 20 lines with all the syntactical beauty and readability of m4 macros? I’m not convinced.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral FRP complexity scales linearly, imperative scales exponentiallyThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral It's often hard to see in examples though - you say "This is way easier in 'normal' code!". It is, till you get bigger.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral Intent in imperative UIs ends up spewed across the class, in various methods and callbacks. RAC lets you put related things togetherThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@aral FRP makes the intent far more *clear* than in imperative programming, since you can describe it all in one placeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.