Re: Mrs. Robinson...

2001-03-07 Thread Pat Martin

I tried to let this thread expire without getting involved but I simply
can't
stand it anymore.

His articles got me so worked up that I wrote him back personally.  Probably
inundated with mail from upset readers, he never responded to me.

First of all, when someone makes a blatant claim that "Language X is not
fast",
I'd like to see it backed up with a benchmark of some kind.  Otherwise,
you're
just blowing smoke up my ass and I don't take your claims seriously.
Furthermore,
however fast, I'd argue that Java has yet to realize a fraction of it's
potential. It's a
well designed language currently being judged on the various available
implementations
which I find to be suboptimal.

Currently, most of the optimization effort has been expended in order to
improve Java
at runtime rather than at compile time.

I've dug into the byte code and from what I've seen, current Java compilers
perform
little or no optimization whatsoever.  Even minor optimizations such as dead
code
elimination and constant folding are seemingly omitted.  For example,

public void foo()
{
   for(int i=0;i10;i++)
   {
   }
}

actually gets translated into byte code that increments a counter 100,000
times.  Stupid code?  Yes! However there's many scenarios where this type of
situation is even more costly and extremely subtle.  My point is that there
is lots of room for improvement.

Secondly, he states that "Java is not portable".  Hmmm...no concrete
examples
to back it up.  I sit and think about my work situation.  We have a group
split
between 30 developers with Windows and Unix expertise.  Some people develop
on unix, some on NT.  Everything is centralized into the unix platform where
it is run and tested. Since it's Java, it shouldn't matter which platform it
runs on.
From what I've seen in the past 3 years, it doesn't.  I have yet to see an
issue
arise from java portability issues.  Chances are that he's based his opinion
on heresay
which in turn was based misinterpretations of incompatibilities which arose
from
incompatibilities in various versions of the JDK (due to bugs or due to
documented
JVM evolutionary changes) rather than real honest to goodness JVM/byte code
incompatibilities between platforms running identical versions of the JDK.

Later he states:

The creators of Java tried to make a better C++. But they ended up with a
language that is ugly, hard to read and that requires an inordinate amount
of typing because of a variety of pedagogical restrictions imposed by Java's
creators. They ended up with a slow mess.

I don't even know where to start here.  How about, "they did make a
better C++".  You can't simply write C code, replace stdio.h with iostream.h
and use cout in lieu of printf and call it an object oriented C++ program.
The lack of code proliferated with #ifdef, #elif and #define probably
threw him for a loop as well.

It also sounds like he didn't like typing System.out.println(), cout is
admittedly
shorter, however, the convention makes alot of sense in the greater scheme
of things.  The Pedagogical restrictions probably refered to silly little
policies
like type safety, exception handling, and naming your class and file name
identically.  While these enhance portability and maintainability in large
development efforts, I'll admit that yeah, it can be a bit cumbersome to
do the right thing -- there's no glory in writing exception handlers.  It
does,
however, lead to better code.

Further down he states:

The truth is that most businesses didn't need Java's promise of
"write-once, run-everywhere."

What planet is this guy from?  From what I've seen, every company needs
this kind of capability.   In this era of musical business partners and
constantly
merging/splitting corporations, the need for portable code is at an all time
high.

Java enables this.  In addition to it's benefits in integrating dissimilar
systems
it gives you are larger base to hire from.  Rather than searching for a
"Unix guy who knows language X" or a "Windows guy who knows language
Y", you can simply hire "A guy (or lady) who knows Java".  It really does
bring in a larger flow of resumes.

Anyway, sorry to continue this off topic post, but I had to vent a bit of
the
frustration I experience in reading this article.

- Pat

- Original Message -
From: "Alex Fernndez" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, March 05, 2001 6:23 AM
Subject: Re: Mrs. Robinson...


 Hi folks.

 The follow-up is even more ludicrous than the original article. Mr.
Garfinkel
 argues that only server-side programming can be successful, while right
now Java
 is coming out of age and there are good, big applications being written.
Just look
 at

 http://www.togethersoft.com

 and

 http://www.merant.com/products/pvcs/

 for a taste. Both Together/J and Version Manager are excellent
applications in
 their families, and I should say faster t

Re: Mrs. Robinson...

2001-03-05 Thread Glenn Vanderburg

Art Taylor [EMAIL PROTECTED] writes:

 Yes, Mr. Garfinkel is a bit clueless. Just another journalist
 (principally) who seems to think because he can put something in
 print, it must be true. His article was poorly researched (more than
 2 years out of date in my opinion) and jumped to conclusions based
 on nothing more than his slanted opinions.

At risk to my own skin, I'll jump to a partial defense of Garfinkel.

I couldn't agree with you more about his Java article.  He clearly
made up his mind about Java at a certain point (at least 2 years ago),
ignored potential in favor of (transient) reality, hasn't investigated
the truth about the situation today, and suddenly felt the need to
rant about his outdated impressions in Salon.  Plus, he missed the
distinction between personal taste and objective quality.  Very
disappointing.

But one of the reasons it's so disappointing is that usually Garfinkel
*has* a great many clues.  He is one of the few technology pundits who
do.  In fact, where technology policy issues are concerned, or the
social implications of technology, he's often very insightful.  His
column in HotWired 3 years ago, "Let My Data Go"
(http://hotwired.lycos.com/synapse/feature/98/01/garfinkel1a_text.html)
is a wonderful manifesto that should be read by anyone interested in
technology policy or good software (or XML, for that matter).

I read Cringely regularly, and Garfinkel slightly less regularly, and
other tech columnists very rarely.  He really blew it with his Java
column in Salon, but I'll give him another chance.

-- 
Glenn Vanderburg
Delphi Consultants, LLC
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Mrs. Robinson...

2001-03-04 Thread Pier P. Fumagalli

I found this nice article on Salon tonight, and I wanted to share it with my
closest friends :) 

http://www.salon.com/tech/col/garf/2001/01/08/bad_java/index.html

For sure the guy grew up in a bad way :) Just take a look at his name, is he
an hybrid between Homer and Simon  Garfunkel? (Well, I can't say my name is
better - translated it would sound like "Peter Paul Smoking Chickens" - but
his sounds like "Mrs. Robinson's Donuts"...)

I'd give him a big phat "californian" what-EVERR :) :) :)

Pier

-- 

Pier P. Fumagalli  mailto:[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Mrs. Robinson...

2001-03-04 Thread Geir Magnusson Jr.

"Pier P. Fumagalli" wrote:
 
 I found this nice article on Salon tonight, and I wanted to share it with my
 closest friends :)
 
 http://www.salon.com/tech/col/garf/2001/01/08/bad_java/index.html
 
 For sure the guy grew up in a bad way :) Just take a look at his name, is he
 an hybrid between Homer and Simon  Garfunkel? (Well, I can't say my name is
 better - translated it would sound like "Peter Paul Smoking Chickens" - but
 his sounds like "Mrs. Robinson's Donuts"...)
 
 I'd give him a big phat "californian" what-EVERR :) :) :)

He wrote a follow-up because a few people gave him a  'what-EVER'...

http://www.salon.com/tech/col/garf/2001/01/18/java_response/index.html

geir

(And if "californian",  wouldn't that be 'what-EV- hey?  what happened
to the lights? ' )

-- 
Geir Magnusson Jr.   [EMAIL PROTECTED]
Developing for the web?  See http://jakarta.apache.org/velocity/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]