cedric
06/13/2016, 10:25 PMclass Name(firstName: String, lastName: String)
where you can introduce newtype FirstName = String
. More strongly typed but potentially a lot of boiler plate if the language doesn’t provide automatic conversions and deconversions between the newtypes