Re:Learn Go: Hand-crafted Go exercises and examples
by SureshG on Sunday May 17, 2020 @12:55PM
(#23213252)
Kotlin is one example where it's difficult to make that mistake. Kotlin does provide nullable type and everything can check at compile time and it so good. So if write code in pure kotlin (java interop has null issues) you can avoid null pointer errors. It's really good.
[ Parent
| on HN ]
Re:Learn Go: Hand-crafted Go exercises and examples
by sacado2 on Sunday May 17, 2020 @04:16PM
(#23215024)
I totally agree it's great and tend to enjoy languages that don't provide the user with unchecked nulls. It's a cool tool, but I don't think it's worth a billion dollars. If I had to choose, I'd rather take non-mutability by default rather than compile-time enforced checking of null pointers.