4 ms·
To be fair, generics was an after-thought because Go was originally a "small" language used internally at Google, and they needed to ship the language in a work
by rty32 2y ago
To be fair, generics was an after-thought because Go was originally a "small" language used internally at Google, and they needed to ship the language in a working state. Generics was too complicated to handle for the first versions (according to Russ Cox). If you look at Java, generics didn't exist until a few major versions in.
Although I agree it probably should be done quite a bit earlier.