Re:Why I’m Frustrated with Go
by harpiaharpyja on Sunday July 23, 2017 @06:27PM
(#14834746)
I think I will have to disagree with that. The type of object is not enforced by the compiler, but that's a long way off from "you have no idea what the type of that object is."
[ Parent
| on HN ]
The fact that the compiler cannot enforce it is a big deal since it prevents automatic refactorings, often impairs performance and overall, hinders readability.
And yes, you really have no idea what the type of that object is unless you look at the source of the function. Which is obviously suboptimal, especially if you don't have access to that source.