Connecting...

Accessory Bobbin Close Up 355148

Strings are Evil: Methods to hide the use of primitive types by Noel Welsh and Adam Rosien

Accessory Bobbin Close Up 355148

Find out how you can reduce errors in Scala.

This is a dream talk for programmers as all those things that frustrate you such as wrapper types and refined types, Noel Welsh and Adam Rosien taught us how to avoid at Scala Days Berlin. Have a watch!

 

Strings are Evil: Methods to hide the use of primitive types

Most primitive types we use are "too wide" for how we are using them; for example, there are an infinite number of Strings, but we are only using the String (hex!) representation of a 128-bit UUID. This is a huge source of bugs in our programs. This talk will go over the many ways we can reduce these kinds of errors in Scala, such as wrapper types, refined types, type restrictions, and more.
 
 
This talk was given by Noel Welsh and Adam Rosien at Scala Days Berlin 2018.