4 ms·
> the builtins are ad-hoc and half-assed In what way are slices and maps half-assed?
by sagichmal 5y ago
> the builtins are ad-hoc and half-assed
In what way are slices and maps half-assed?
- amw-zero 5y agoI’m sure they mean that because they are not applicable to the rest of the language. It’s like, the Go creators recognized the situation where generics were necessary, but only used it for slices and maps. I really don’t think they were saying that slices and maps themselves are bad. They function perfectly. I’m sure they meant that it’s just silly to confine quasi-generics to those 2 places.
- sagichmal 5y ago> it’s just silly to confine quasi-generics to those 2 places Why is it silly?