'Slow' is relative to the problem being solved and the time-frame
given to solve it.
Reflection in Go is slow because it needs to do quite a few allocations.
Doing lots of allocations in a loop that is run many millions of times
would be slow if the loop needs to be complete in a few seconds. But
irrelevant if you have minutes.
Reflection can often lead to shorter and more reusable code which will
suit most people's needs until they profile their
solution and see if the reflection is actually going to be a
bottleneck. You won't know the impact of reflection on your
performance until you profile.
--
=====================
http://jessta.id.au