3 ms·
I find it fascinating that some hate it and others love it. I personally vastly prefer Rusts Result<T, Error> and Erlang/Elixirs {:ok, T} you pattern match on
by lawn 5y ago
I find it fascinating that some hate it and others love it.
I personally vastly prefer Rusts Result<T, Error> and Erlang/Elixirs {:ok, T} you pattern match on or crash the process and recover.
The code is cleaner while it also makes harder to make mistakes.
- grey-area 5y agoI think a lot of Go programmers would agree with you. I prefer the current situation to exceptions but would like to see them try something more like Rust or Elixir at some point.