From Penazen consulting
Scala, by being both Functional and Object-Oriented is easy to get started with, especially for java developpers. However, to get the most of the language, you have to embrace its functional nature.
In this session, I'll show you how to start using scala's functional nature by presenting patterns originated in the functional world:
- Algebraic Data Types for data modelling
- Typeclasses for extensible abstractions
- Error handling in a composable fashion with Either and Validation
- Segregation between logic and effects for easier testing
- Property based testing
It can be usual for software developers to let the ORM take care of the database schema. In many cases it's a bad idea as it makes the data stored in your database brittle and hard to use confidently. I'll show a few tricks which will help you cleanly store and query data by using your database engine to its full power.