|
|
|
|
|
by karmajunkie
862 days ago
|
|
I mean, yes, you're right that the failure mode of the `then/2` approach works differently than `with`. I think most semi-experienced elixir devs would recognize that the function used with `then/2` needs to have a pattern that matches expected returns—as does `with/else` if you want to be able to continue on the happy path of your program. For those that don't realize that, caveat lector. |
|