4 ms·
Java does not have anything that can be used like C# dynamic. If you want to replicate it, you'd have to use several lines of reflection. See my reason for not
by Traubenfuchs 8y ago
Java does not have anything that can be used like C# dynamic. If you want to replicate it, you'd have to use several lines of reflection.
See my reason for not using it above.
As someone who holds no mastery over C#: Is it appropriate to ever use dynamic anywhere besides horrifying interop code?
- UK-Al05 8y agoAlmost nobody uses dynamic, but they do use var