DEV Community 👩‍💻👨‍💻

Discussion on: How I stumbled onto the Reflection API

dawiddahl profile image
Dawid Dahl

Oh cool!

I myself stumbled over the reflection API when I was researching how to implement dependency injection containers. But at the time I couldn’t figure out other awesome use cases for it. Until now! Grabbing hold of docstring information at runtime is an awesome application of reflection, thanks a lot for teaching me! 🙂🙌🏻

andersbjorkland profile image
Anders Björkland Author

Cool! That sounds like a neat use-case for it too 😀