Basic type inference has been around for decades, Go isn’t responsible for it. Haskell, scala, etc had it for a long time.
Re:We don't need runtime type checks
by paskozdilar on Friday March 04, 2022 @01:23PM
(#30558415)
>Basic type inference has been around for decades, Go isn’t responsible for it.
I never said it was.
I think Go made a right decision there - they kept the static typing but added a walrus := operator for automatic type inference. Every function has a type signature so the type inference algorithm is pretty trivial, and the language still feels like Python: