by penrod · 13y ago · 0 comments
More abstractly, one of the characteristics of object-oriented design is the use of polymorphic objects. APIs which require you to define monomorphic annotated classes violate this and lose generality as a result. They are effectively class-oriented or method-oriented rather than true OO.
Why would you want an API that breaks the flexibility of code by forcing it to be glorified XML?