Scala: How to sneak Haskell design patterns into industry code
- π€ Speaker: Will Sonnex, GSA Capital
- π Date & Time: Monday 24 October 2016, 13:05 - 14:05
- π Venue: FW26, Computer Laboratory
Abstract
GSA Capital is an award winning quantitative investment manager employing ~140 staff across offices in London, New York and Hong Kong. Over 60% of our staff work in research or developing technology to enable or monetise research. As a firm we operate a flat hierarchy, reward people on merit and foster a culture of innovation, trust and scientific rigour.
Haskell is an awesome language, even if a lot of development time is spent marvelling at the beautiful abstractions you have created, and at your own genius for creating them. Unfortunately “the man” will tell you such code is hard to understand, hard to debug, and has performance which is difficult to reason about. Thankfully, someone created a language which allows you to express many of these beautiful abstractions, which still looks enough like Java that people will let you use it in industry code, Scala!
In this talk I will outline some of the design patterns we have managed to abuse our code-base with, including type-classes, monad for comprehensions, implicit classes (these are like extension methods in C#, but way more powerful), and property based testing. One of my sexy examples will be the three-valued logic system we use in order to properly answer the question, “is NaN equal to NaN?”
Series This talk is part of the Technical Talks - Department of Computer Science and Technology series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge Centre for Data-Driven Discovery (C2D3)
- Cambridge talks
- Chris Davis' list
- Department of Computer Science and Technology talks and seminars
- FW26, Computer Laboratory
- Guy Emerson's list
- Interested Talks
- ndk22's list
- ob366-ai4er
- rp587
- School of Technology
- Technical Talks - Department of Computer Science and Technology
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)

Will Sonnex, GSA Capital
Monday 24 October 2016, 13:05-14:05