more Java hate :P (nerds only)

HaPpY

Veteran XX
some really good points here... ofn to me. java lovers flame away :p

http://blogs.law.harvard.edu/philg/2003/09/20#a1762

Java is the SUV of programming tools
Our students this semester in 6.171, Software Engineering for Internet Applications have divided themselves into roughly three groups. One third has chosen to use Microsoft .NET, building pages in C#/ASP.NET connecting to SQL Server. One third has chosen to use scripting languages such as PHP connecting to PostgreSQL and sometimes Oracle. The final third, which seems to be struggling the most, is using Java Server Pages (JSP) with Oracle on Linux. JSP is fantastically simpler than "J2EE", which is the recommended-by-Sun way of building applications, but still it seems to be too complex for seniors and graduate students in the MIT computer science program, despite the fact that they all had at least one semester of Java experience in 6.170.

After researching how to do bind variables in Java (see the very end of http://philip.greenspun.com/internet-application-workbook/software-structure), which turns out to be much harder and more error-prone than in 20-year-old C interfaces to relational databases, I had an epiphany: Java is the SUV of programming tools.

A project done in Java will cost 5 times as much, take twice as long, and be harder to maintain than a project done in a scripting language such as PHP or Perl. People who are serious about getting the job done on time and under budget will use tools such as Visual Basic (controlled all the machines that decoded the human genome). But the programmers and managers using Java will feel good about themselves because they are using a tool that, in theory, has a lot of power for handling problems of tremendous complexity. Just like the suburbanite who drives his SUV to the 7-11 on a paved road but feels good because in theory he could climb a 45-degree dirt slope. If a programmer is attacking a truly difficult problem he or she will generally have to use a language with systems programming and dynamic type extension capability, such as Lisp. This corresponds to the situation in which my friend, the proud owner of an original-style Hummer, got stuck in the sand on his first off-road excursion; an SUV can't handle a true off-road adventure for which a tracked vehicle is required.

With Web applications, nearly all of the engineering happens in the SQL database and the interaction design, which is embedded in the page flow links. None of the extra power of Java is useful when the source of persistence is a relational database management system such as Oracle or SQL Server. Mostly what you get with Java are reams of repetitive declarations at the top of every script so that the relevant code for serving a page is buried several screens down. With a dynamic language such as Lisp, PHP, Perl, Tcl, you could do bind variables by having the database interface look at local variables in the caller's environment. With Java the programmer is counting question marks in the SQL query and saying "Associate the 7th question mark with the number 4247", an action that will introduce a bug into the program as soon as the SQL query is modified (since now the 7th question mark has been moved to become the 8th question mark in the query).
 
im glad i graduated from cs in time before all the cs classes were infested with java. even the new game programming one :(
 
Khushi said:
im glad i graduated from cs in time before all the cs classes were infested with java. even the new game programming one :(
Gay.

I refuse to learn Java. I've been planning to pick up C and C++ for years now, but I've been too lazy (and broke) to pick up some books.
 
I was learning java in the cs major. They were like: "Java is amazing b/c you only have to write it once and it will work on macs AND pcs!"
 
Sir Lucius said:
I was learning java in the cs major. They were like: "Java is amazing b/c you only have to write it once and it will work on macs AND pcs!"

yeah, woohoo.

you only have to write c++ once

just have to compile it twice...
 
They compare Java to the scripting languages like PHP and Perl...but isn't Java much more efficient than those?
 
i stopped reading about 7 comments in for that entry. the shit that these people are talking about is way over my head. sometimes it makes me ashamed to even have Java on my resume. :hrm:
 
I'm a JSP and javascript programmer and yea it can be quite frusturating. Our web application is already way over the deadline but what we've been able to do with it is quite amazing.
 
more java only programmers will mean higher demand for other languages once managers realize what theyre getting into.

games still require the latest tools and api's which are and will continue to be written in C first and much later, if ever in Java. the gaming industry is roughly 80% of the software industry. most new programmers learn Java... 2 + 2 = ? ;)
 
Sir Lucius said:
I'm really glad I dropped comp sci as my major 2 years ago

:signed:

They even said the same thing you did, partly because one of our professors was the editor of an A&M text, Java, Swing, & You! *insert picture of an excited retarded kid jumping for joy*
 
Khushi said:
more java only programmers will mean higher demand for other languages once managers realize what theyre getting into.

games still require the latest tools and api's which are and will continue to be written in C first and much later, if ever in Java. the gaming industry is roughly 80% of the software industry. most new programmers learn Java... 2 + 2 = ? ;)

your joking right?
 
Back
Top