▲ | DanielHB a day ago | |||||||||||||||||||||||||||||||
You hit the main gripe I have with Go, its types system is so basic. I get people raving type-correctness of Go when they come from Python but the type system in Go is simply pre-historic by modern day standards. | ||||||||||||||||||||||||||||||||
▲ | masklinn a day ago | parent | next [-] | |||||||||||||||||||||||||||||||
Go’s type system is not even impressive compared to python’s. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
▲ | yyyfb a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||
I feel that the future for Python people who want type safety will eventually be TypeScript on nodejs. Go was intended as an alternative to C++. It seems that in reaction to the ungodly complexity of C++, the creators wanted to avoid adding language features as hard as possible. If the user could work around it with a little extra verbosity, it'd be ok. I feel they removed too much and maybe not the right things. |