4 ms·
Go mostly only have abstractions that the language designers put into the language. It is (mostly) hostile to users defining their own new abstractions. A cas
by eru 1y ago
Go mostly only have abstractions that the language designers put into the language. It is (mostly) hostile to users defining their own new abstractions.
A case in point is that arrays and maps (and the 'make' function etc) were always generic, but as a user until fairly recently you couldn't define your own generic data structures and algorithms.