Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created August 11, 2012 01:02
Show Gist options
  • Save garybernhardt/3319627 to your computer and use it in GitHub Desktop.
Save garybernhardt/3319627 to your computer and use it in GitHub Desktop.
Isolation, Data & Dependencies
Isolated unit testing—mocking everything—is a controversial topic. We'll briefly review what it is today, why people like it, and its problems. Then, on to the real goal: a trip through behavior vs. data, mutation vs. immutability, how data shape affords parallelism, transforming interface dependencies into data dependencies, and what it might look like to unify all of these with a slightly tweaked version of OO. Fortunately, Ruby is sufficiently flexible that we can do the whole experiment without leaving it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment