News for hackers. Stuff that matters.
Re:.NET 6 Released by Thaxll on Monday November 08, 2021 @03:23PM (#29153767)
"verbose error handling, lack of exceptions"

Exactly why I prefer Go to Java and C#.

Re:.NET 6 Released by exyi on Monday November 08, 2021 @03:48PM (#29154034)
Understandable, but it's a matter of taste. For people who prefer a language with exception, it's good that there now exist a viable solution other than sticking to a language that might not fit their taste so well.

It seems to me that F# could get a bit more love from HN-style nerds. Obviously, it's more similar to C# than Golang, but specifically error handling can be done in much nicer way using the Result type.

Re:.NET 6 Released by grumpyprole on Monday November 08, 2021 @03:56PM (#29154147)
But Go has no sum types either!
Re:.NET 6 Released by ClumsyPilot on Monday November 08, 2021 @10:08PM (#29157263)
I can live with many things, but no generics in 2021? Over my dead body!