News for hackers. Stuff that matters.
Re:Twelve Years of Go by lawn on Wednesday November 10, 2021 @04:10PM (#29180863)
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.

Re:Twelve Years of Go by grey-area on Thursday November 11, 2021 @02:01AM (#29185233)
I 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.