Less lulzy RAC-less parallel work example #391

Merged
merged 1 commit into from Mar 25, 2013

Conversation

Projects
None yet
2 participants
Owner

joshaber commented Mar 23, 2013

h/t @ddeville

Owner

jspahrsummers commented Mar 25, 2013

This is definitely Better Code™, but it strays from what this section was really meant to be about in my mind – namely, synchronization.

There are ways to avoid explicit synchronization without needing RAC, but they're often non-trivial. This was a poorly-chosen and poorly-written example on my part, so I think we should instead try to think of realistic Cocoa code that would use @synchronized (and would be difficult to write with operation queues), and rewrite that in a RAC-like way.

Owner

joshaber commented Mar 25, 2013

The section is titled "Parallelizing independent work." So if it was meant to be about synchronization, that's a pretty less than descriptive title :)

Owner

jspahrsummers commented Mar 25, 2013

Truuueeee. Alright, let's do it.

@jspahrsummers jspahrsummers added a commit that referenced this pull request Mar 25, 2013

@jspahrsummers jspahrsummers Merge pull request #391 from ReactiveCocoa/less-lulzy-example
Less lulzy RAC-less parallel work example
239c3e1

@jspahrsummers jspahrsummers merged commit 239c3e1 into master Mar 25, 2013

jspahrsummers deleted the less-lulzy-example branch Mar 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment