News for hackers. Stuff that matters.
Re:Sun's open source boss slams App Engine's Java support by jrockway on Monday April 13, 2009 @07:54PM (#560730)
Look at URLConnection for example. Ignoring the Factory Factory Factory aspect, note that the object starts off as a request object, and then magically becomes a response object when you magically happen to call certain magical methods. Magic sucks, you should start with two objects, a user agent and a request. Tell the user agent to execute the request, and you get a response back. This is easier to implement, easier to use, and easier to reuse... but Java instead decided to go with a non-OO API encapsulated in 150 different objects.

Not good design.

There are no comments on this comment yet.