LOADING

Armored Type Safety with Iron

In this talk, we’ll show first the different techniques we can use to apply constraints is our domains. Then, we’ll present Iron, its features, extensions, and integrations. We’ll finish by showcasing a fully integrated constraint-enforcing app.

Raphaël Lemaitre
About This Talk

When designing an application, we often end up with domain-specific types, that all behold constraints that we try to enforce as much as possible: an age is positive, a delivery date can’t be in the past, etc. Modelling the data right is a part of the success of Scala and functional programming in general, but it also brings either boilerplate (we have to do again and again validation), or rely purely on conventions.

But there is hope. Meet the Iron library.

Iron is, a type constraint library that allows us to have a safe, declarative and smarter model. It enables us to have a continuous stream of valid data from our API endpoints to the database, and removed a whole class of bugs. Using advanced features like opaque types, inlines and the new macro system, it offers a true 0 cost, 0 dependency library that doesn't hamper compile time.

In this talk, we’ll show first the different techniques we can use to apply constraints is our domains. Then, we’ll present Iron, its features, extensions, and integrations. We’ll finish by showcasing a fully integrated constraint-enforcing app.

more great talks

Might Be Interesting

Day 1
  —  
4:00 pm
arrow pointing right icon

Minimize your Python Discomfort: A tour of NLP with Spacy, ScalaPy, and Scala 3

In this talk, I will show how you can use ScalaPy to leverage an excellent NLP library like Spacy, minimizing your discomfort of using Python, and enhancing your comfort with Scala 3 for the remaining parts of your application.

Day 2
  —  
3:30 pm
arrow pointing right icon

Sounds of Scala.js

Drawing on 25 years of experience as a professional musician and record producer, this will be a beginner focused talk introducing the use of Scala.js and the web audio api for building Scala powered Web Audio Applications.

Day 2
  —  
12:00 pm
arrow pointing right icon

Looking beyond the scope: Scala application from an external lens

Join me in a talk empowering you to build Scala applications that not only excel internally but also deliver optimal experiences from an external perspective.

Day 1
  —  
5:30 pm
arrow pointing right icon

Generative Art with Scala, No AI Required

In this talk, we will demonstrate some elegant applications of functional programming in Scala, with even more elegant visual results - all with live code and real-time output.

Day 2
  —  
9:30 am
arrow pointing right icon

Do I Miss Writing Scala?

Join me for a fun and possibly opinionated talk about the state of Scala and other JVM languages.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us