3 ms·
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.co
by cies 2y ago
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 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.