|
|
|
|
|
by tail_exchange
1073 days ago
|
|
I was very skeptical of Go, but after trying it, it quickly became my main and favorite language. I think the drawbacks of the language are easily offset by how powerful and simple it is. Its biggest flaw imo, which I don't think was mentioned in the article, is that Go did not learn from The Billion Dollar Mistake in Java: null references. You have zero protection against nil pointers, and this is likely not something that can be changed now without breaking backwards compatibility. |
|
Although I guess that feeds into eachother, sum types would eliminate any need for null types in the first place.