Post

Fully agree. I would also consider converting the 2 boolean functions to those that return :ok | {:error, reason}: is_email_address? => validate_email_address is_available => check_availability It's also future-proof if additional error reasons pop up. You may say I generally dislike booleans :)

0 reposts1 like