If you're passing raw strings around for things like usernames and email address...
Paul Hudson @twostraws@mastodon.social
If you're passing raw strings around for things like usernames and email addresses, you're scattering validation checks everywhere. Value objects with failable initializers mean invalid instances literally can't exist. https://www.hackingwithswift.com/articles/188/improving-your-swift-code-using-value-objects