Silicon Valley Code Camp : October 6th and 7th, 2012

Vlad Patryshev

About Vlad
Born in Arkhangelsk, Russia; studied in St.Petersburg. Married. 2 grown-up children. Living in San Jose. Riding a road bike on weekends.
{speaker.firstName} {speaker.lastName}

Speaking Sessions

  • From Monads to Applicative Programming

    1:45 PM Saturday   Room: 4218
    Monads is the proven way to build total code (the one that does not throw up when it encounters an exceptional situation); the problem with monads they don't compose. Applicative Functors are a weaker form of monad, and they provide robust and parallelizable calculation framework; map/reduce is one popular example of applicative functors in practice. In this talk I demonstrate refactoring from traditional-style code to applicative style. I start with Java samples, but then gradually switch to Scala, since it provides the proper language infrastructure. MacBride and Paterson's paper, "Functional Pearls" is the source of code examples.