> I don't see the need of it if you already have a class-based system.
Like in Java?
new Object() { void foo() {}}.foo(); // Works
Ooops.The point about XML is so stale already that I won't even bother commenting on it.