So, I'm learning a new scripting language called Groovy. Yes I know I've not finished learning ruby... but I'm flitting at the moment. I'm also thinking of JavaFX.
I thought as much, but not being an expert in Java's reflection stuff, I just wasn't sure. I thought it might just have been how I used it.
Oh, and you might find this article interesting. (It's a bit like eval() for Java, but like all things in Java, unnecessarily complicated when compared to other languages)
The main problem i found with the Java reflection stuff was caused by some problems in the java type system. Mostly because there is a different between and int and an object. This causes headaches when looking at things dynamically. In python, everything's an object.
Comments 3
*shudder*
As someone who had to use Java's reflection stuff for a project, I can just say that it's shite.
Reply
Oh, and you might find this article interesting. (It's a bit like eval() for Java, but like all things in Java, unnecessarily complicated when compared to other languages)
Reply
And yes it is incredibly verbose and complicated.
Reply
Leave a comment