Elm’s core philosophy is No Runtime Exceptions.
Elm’s architecture doesn’t support side effects like logging out of the box—you handle them through commands, which are a part of your application’s architecture.
Here’s a chunk of Elm code with a simple function to greet a user.
Consider you have an Elm function that’s doing too much, like mixing up UI logic with state updates.