News for hackers. Stuff that matters.
Re:Perl 11 by jcranmer on Tuesday October 23, 2018 @09:18PM (#18288929)
Classes are objects in Java. You can even create new classes at runtime in Java or use java.lang.reflect.Proxy to make existing objects implement different interfaces.

I once did this in a class project, including even manually creating the bytecode at runtime. Ironically, it's probably the most understandable and maintainable of the crazy metaclass-style reflection I've done (although that's probably mostly due to the fact that the scope was much more limited: I was only mirroring a set of interfaces into a different namespace to work around some stupid limitation in a different library).

Re:Perl 11 by Fellshard on Tuesday October 23, 2018 @09:32PM (#18288983)
You can, yes, but not nearly in the same way.