3 ms·
At the time Java was first released and MFC was the most widely used OO framework, Java's standard library was like a breath of fresh air. OO has had a few diff
by papaf 18y ago
At the time Java was first released and MFC was the most widely used OO framework, Java's standard library was like a breath of fresh air. OO has had a few different fashions since the first release of Java but, in my opinion, the base Java API has stood up well. What's so horrible about it?
- jrockway 18y agoLook 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.
- zcrar70 18y agojava.util.Date, java.util.Calendar