Max Lybbert
Posts: 314
Nickname: mlybbert
Registered: Apr, 2005
|
|
Re: Java 7: Too Little, Too Late?
|
Posted: Aug 15, 2011 9:07 AM
|
|
> trusted with pointer arithmetic? Same issue as with guns: > you can trust people and give them guns, but they can do > dangerous things with them. Even if <i>you</i> don't do > dangerous things you can be seriously hurt by someone who > does!
I've never believed the "I'm not a moron, just the other guys are" argument. But assuming it's true, then it supports my argument: there may well be "more than 500.000 web sites using J2EE" but if the programmers who wrote those sites are all morons, then I suspect that those sites are bug-riddled.
It reminds me of the PHP library I once saw that generated GUIDs by (1) generating a random number, and (2) formatting it as a GUID. At first I was appalled, until I realized I can't expect a PHP programmer to know that generating a GUID is harder than that ( http://blogs.msdn.com/b/oldnewthing/archive/2008/06/27/8659071.aspx ).
Java code almost always gets try ... finally wrong (eg., that JSP saying the Java standard library had it wrong something like 1/3 of the time), gets error handling wrong "it's easier to have four nested try ... catch blocks, with subtle interactions between them and the nested finally blocks than to use error codes!"), more often than not creates object oriented spaghetti by requiring OOP even in cases where OOP simply doesn't make sense ( http://www.johndcook.com/blog/2011/07/19/you-wanted-banana/ ), often uses threads for no apparent reason (and, of course, has a mediocre threading model carved in stone), is incredibly verbose for what's actually done, and offers such a poor GUI library "out of the box" that several projects have gone through the trouble of replacing it. J2EE code has more of these problems than generic Java code, and adds its own issues as well.
I can respect people who pick a language that handles the details (Python), looks at problems differently (Erlang), improves on C++ (D), etc. But I have a hard time getting interested in a language that -- successfully! -- was marketed as "you can program in it, but we took out the hard parts." Programmers who have selected that language over others are not programmers I want as coworkers ( http://article.gmane.org/gmane.comp.version-control.git/57918 ).
|
|