4 ms·
My opinion is that I greatly prefer generics to either.
by jacques_chester 6y ago
My opinion is that I greatly prefer generics to either.
- loopz 6y agoHaving genetics as a good option is great. Using interface{} works too, but is a kludge if you have to do it alot. You lose performance to reflection and gain runtime errors that are hard to handle. It's not the best part of Go, far from it.