And it just occurred to me (I'm getting pretty tired) that the reason Go doesn't make it simpler is because the creators of Go refuse to implement generics for the language. Which is unfortunate, since if you had generics you would be able to bypass some of this tedium in coding.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
And it just occurred to me (I'm getting pretty tired) that the reason Go doesn't make it simpler is because the creators of Go refuse to implement generics for the language. Which is unfortunate, since if you had generics you would be able to bypass some of this tedium in coding.