5 karma · joined Aug 20, 2010 (16y ago) · 5 submissions
comment 16y ago · link · parent
comment 16y ago · link · parent
However, using dynamic proxies in Java feels like going against the grain of the language: strong typing and dynamic calls don't really like each other. As a result, you usually resort to Java/C# dynamic proxies only when you have no other option. I've yet to see anyone using a dynamic proxy just to remove duplication in a Java class.
C# dynamics might make dynamic proxies less clumsy in that language. Will try. Do you have experience with them already?
comment 16y ago · link · parent