Re:Kill Your Dependencies
by ktRolster on Thursday February 11, 2016 @12:52PM
(#11081677)
Nice list. He clearly doesn't like reflection:
Of course, everything has its place, even reflection.
[ Parent
| on HN ]
Reflection is a sign that your system is inadequate. In some (maybe even all) languages it may be necessary, but for a language designer it is a failure.
Eh, I am using reflection in a small (C#) project at work - I've had to implement a unit test system of sorts (yes, NIH, reinventing the wheel etc etc) and reflection lets me find all methods that return a particular type very easily. I agree it can become spaghetti very quickly but it is quite useful at times.