3 ms·
Java? In a lot of cases you still need them. Anything that touches reflections is in that category, plenty of di/ioc systems, or mappers, etc relies on them.
by tehlike 9y ago
Java? In a lot of cases you still need them. Anything that touches reflections is in that category, plenty of di/ioc systems, or mappers, etc relies on them.
- TheCoelacanth 9y agoCan you give an example? Most of the time when reflection is needed I see something like this instead of just a plain list type. <T> void foo(List<T> list, Class<? extends T> type) { ... }