Silicon Valley Code Camp : October 5th and 6th 2013
Born in Arkhangelsk, Russia; studied in St.Petersburg. Married. 2 grown-up children.
Living in San Jose. Riding a road bike on weekends.
The notion of type class is shrouded in a mystery. Even people that use it mostly cannot explain what it is. In this talk I explain type classes in simple terms, give examples, show how it is elegantly presented in Scala and give more examples.
Monoid is the simplest structure from algebra, and you encounter it every day. I give you a bunch of examples, a good definition, and some specialized monoids.
It turns out trees, bags, sets are pretty much related with this notion.
The code is in Scala, but no knowledge of Scala is required, just be willing to understand the things that are not even new.