Friday 15th July, 2016
4:00pm to 4:45pm
Functional programming is now mainstream (e.g. RxJs, Redux and LINQ). To improve his own skills (Javascript, C++ & C#), Jon's personal projects often use Haskell and Elm (the browser language that inspired Redux).
Jon's perspective is that of a mostly imperative languages programmer venturing into functional programming, keen to share with you the ideas and concepts he's learnt and also to learn himself from your feedback on his code.
The talk relates to two Haskell solutions that Jon wrote to solve a puzzle encountered in a computer game. The first solution does not scale, while the second does and the aim is to generate some audience response on the difference. Jon uses a browser front-end coded in Elm to make the talk more interactive, and for a demo of time-travel debugging.
The talk will mention the difference between lazy evaluation in Haskell and strict or eager evaluation in Elm. Jon may say something on Javascript generators, and tail-call optimisation (both relating to ES6). Jon finishes by showing the Haskell solutions rewritten into C# and JavaScript.
Sign in to add slides, notes or videos to this session