Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: