aeveltstra, (edited ) Reflection considered harmful
In the #java and #csharp OOP programming languages, #reflection is used to not only review an object’s private fields and methods, but also to access and change them.
This is used for instance by large #dependencyinjection libraries and frameworks, by preprocessors, and of course by the standard library itself.
It is dangerous because it can break a class’ definition of what should be private and inaccessible.
Every programmer should know.