Singapore Scala Programmers

Latest Video

Speaker:
Lim Teck Hooi

Imagine one day you want to write functions in a strict Functional Scala manner which is pure, total, and deterministic. But how does that benefit you? For one, pure functions are both easy to reason and test which ultimately leads to improved code quality. Next, another equally important and interesting topic is Typeclass. Typeclass is the implementation for algebraic structure like Functor and Monad. Typeclass is similar to interface in Object Oriented (OO) programming, but it is a lot more powerful than what interface can do. Again, how does this feature benefits you?

In this talk, Teck Hooi will demonstrate writing pure functions using some common use cases and how to deal with the side effects. Next, he will implement Typeclasses using Monoid, Functor, and Monads as examples. Moving from there, he will show how library like Cats can be of great help and become a necessity in your project.

About the presenter:
Teck Hooi is a Java developer for many years and some Scala in recent years. He is working with a trading company that manages debt trading platform as a developer. His interest in FP started many years ago with Clojure and Scala.

Event Page: https://www.meetup.com/Singapore-Scala-Programmers/events/266793070/

Produced by Engineers.SG
Recorded by Herdy Handoko

Help us caption & translate this video!

https://amara.org/v/CZXZ6/

All Videos (13)