5 ms·
Well for one, Go is not a weakly, dynamically typed language, and this also isn't an issue of type checking at all.
by Zagill 4y ago
Well for one, Go is not a weakly, dynamically typed language, and this also isn't an issue of type checking at all.
- satvikpendem 4y agoSure, I did not mean Go specifically when I said that, just stating how when I used linters in other such languages, it was not comprehensive enough to replace a language with types and other niceties built-in. I also don't use much Go because it lacks good algebraic data type support, honestly can't imagine going back to a language that doesn't have them as I like to define all my business logic in types and then build the actual application from there. Go simply doesn't have that capability.
- Zagill 4y agoI'm not familiar with algebraic data types, what's missing from Go that makes that impossible? Sounds about like defining structs/other custom types before writing any method bodies, which is what I'd typically do in a Go project.
- satvikpendem 4y ago> what's missing from Go that makes that impossible? The language maintainers don't want to add it: https://github.com/golang/go/issues/19412 https://github.com/golang/go/issues/19412