A month ago I made a talk for my colleagues at our private developers meetup called QIWI Conf. It’s about how Scala type system can help you to release safer code.
Talk is mostly for Scala beginners, yet some patterns covered are very powerful and not offered by majority of other languages.
Contents in brief
- What are fail-fast options today?
- Why compile-time checking is the best choice?
- Patterns that can lift up your code to be checked at compile time
- Either and scalaz.\/
- Sealed ADT + pattern matching
- Phantom types
- Path dependent types