47 Degrees is proud to be a gold sponsor of the 2016 Scala Days in Berlin!
Join us from Monday, June 13th through Friday, June 17th at The bcc in Berlin, Germany. Scala Days brings together some of the brightest minds in Scala for three days of presentations, networking, training, and expanding ideas with like-minded programmers and enthusiasts of the functional programming language.
We’ll have a booth at the event so make sure to stop by and chat Scala with us and pick up one of our cool shirts and free swag!
Noel Markham, a Senior Software Engineer with 47 Degrees will be speaking at the event on Thursday, June 13th at 3:40 PM:
Being Creative with Genetic Algorithms and Typeclasses:
Typeclasses are a hidden gem of the Scala language. They provide an immense power not seen in imperative languages, and so their approach might be unusual or alien to those approaching Scala from an imperative background. I will show how typeclasses allow developers to effectively attach their own interfaces to code written by others. In this talk, I describe what a genetic algorithm is and provide an example implementation in Scala. Using this implementation, I will demonstrate how to define a specific typeclass for our problem. I will then derive several different implementations, showing how to get rock solid confidence in testing our algorithm - with the help of ScalaCheck - and then provide a completely different typeclass to provide a fun, visual and creative solution, illustrating the iterations and improvements as the genetic algorithm’s fitness function runs. The talk will be particularly hands-on, with plenty of examples run directly from the REPL.