Hacker News new | ask | show | jobs
by DeathArrow 485 days ago
Golang and C# would be fine picks, too.
1 comments

Not too familiar with C#, but it seems they have okay null-safety, and with some work you can have exhaustivity checked matches on sum types.

https://github.com/WalkerCodeRanger/ExhaustiveMatching

I prefer languages that have been designed with this in mind. Kotlin in this case goes a long way.

Golang is shit IHMO. No null-safety. No sum types. I dont know what Rob Pike was thinking when he designed this. Total disregard for the last 40 years of innovation in software engineering. Sad.