Idiomatic python vs. idiomatic Java
by Kevin Dangoor
Phillip Eby came across a Python app developed by Java folks and wrote about what he saw: dirtSimple.org: Python Is Not Java. I agree with his points, except the one about XML.
I don’t think XML should be used for a lot of the things it’s used for in Java. XML APIs in Java are generally quite painful to work with. If you need a little bit of dynamic nature in your Java app, use BeanShell, Groovy or Jython.
And don’t use XML as your data model. Ick. Use Java objects! XML is a great interchange format… leave it where it belongs.
If you need a little bit of dynamic nature in your Java app – use JAVA!
But Java has to be compiled! So, unless you embed and invoke a compiler (which is an option), you have to do something else to provide for dynamic behavior changes.