I see a lot of C#, .net questions solved here using reflection. To me, a lot of them look like bending the rules at the cost of good design (OOP). Many of the solutions look unmaintenable and "scripty".
Is using reflection a good practice in general? Are there things that can only be solved by reflection?
edit:
Please give examples where reflection is the only good solution.
Examples:
Reflection is a tool, like "throw". should you use throw everywhere? No! So is it a code smell to use throw?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With