Msnwcj4rlcikjxgg1gti
SkillsCast

The Ubiquitous Language in Functional Programming

14th December 2017 in London at Business Design Centre

There are 49 other SkillsCasts available from Scala eXchange 2017

Please log in to watch this conference skillscast.

672703277 640

Domain modelling in software is never pure. Next to the domain data and business logic there is a whole other universe of programming language constructs that we have to deal with (control structures, error handling, asynchronous computations, etc).

In Functional Programming in general and in Scala in particular, we have many data types that model those general programming aspects. In DDD terms, you could say that they model the ubiquitous language of simple computations.

In this talk, you will explore and analyze a few well-known data types in Scala (Option, Either, Cats Validated, etc) and try to understand them from a Domain-Drive Design perspective. You will also discover some code samples to illustrate how they can be abused and how you can refactor them by creating new data types.

YOU MAY ALSO LIKE:

Thanks to our sponsors

The Ubiquitous Language in Functional Programming

Renato Cavalcanti

Renato is a software developer at Lightbend where he works in the Lagom Framework Team. Scala aficionado since 2009, he has been hacking in Scala and related technologies for fun and profit. He has a special interest for Event Sourcing/CQRS, DDD and Microservices Architectures. He's the founder of BeScala (Belgian Scala User Group), author of Fun.CQRS and maintainer of Lagom Framework.

SkillsCast

Please log in to watch this conference skillscast.

672703277 640

Domain modelling in software is never pure. Next to the domain data and business logic there is a whole other universe of programming language constructs that we have to deal with (control structures, error handling, asynchronous computations, etc).

In Functional Programming in general and in Scala in particular, we have many data types that model those general programming aspects. In DDD terms, you could say that they model the ubiquitous language of simple computations.

In this talk, you will explore and analyze a few well-known data types in Scala (Option, Either, Cats Validated, etc) and try to understand them from a Domain-Drive Design perspective. You will also discover some code samples to illustrate how they can be abused and how you can refactor them by creating new data types.

YOU MAY ALSO LIKE:

Thanks to our sponsors

About the Speaker

The Ubiquitous Language in Functional Programming

Renato Cavalcanti

Renato is a software developer at Lightbend where he works in the Lagom Framework Team. Scala aficionado since 2009, he has been hacking in Scala and related technologies for fun and profit. He has a special interest for Event Sourcing/CQRS, DDD and Microservices Architectures. He's the founder of BeScala (Belgian Scala User Group), author of Fun.CQRS and maintainer of Lagom Framework.

Photos