Exactly! You end up copy/pasting and rewriting loops endlessly, because there are no Generics.
I think it's a good thing that Go is simple, that's the philosophy of the language and they should stick to it. I've also looked at Rust, and it's brilliant but it is HARD.
But, they should REALLY consider adding generics to Go ... if they're allowed to add one and only one thing to the language, generics it should be.
Exactly! You end up copy/pasting and rewriting loops endlessly, because there are no Generics.
I think it's a good thing that Go is simple, that's the philosophy of the language and they should stick to it. I've also looked at Rust, and it's brilliant but it is HARD.
But, they should REALLY consider adding generics to Go ... if they're allowed to add one and only one thing to the language, generics it should be.
I guess generics are on their way in Go. Check freecodecamp.org/news/generics-in-...
Yeah I heard they were working on it, great to see that it's coming!