Re: Class destructors



In article <duGdnaEi0J4EvLXbnZ2dnUVZ_q_inZ2d@xxxxxxxxxxx>, mlw <mlw@xxxxxxxxxxxxxx> wrote:
~kurt wrote:

mlw <mlw@xxxxxxxxxxxxxx> wrote:
Could someone explain why there is no destructor in Java classes?


The explanation I remember is destructors are generally used to free
memory, and Java has garbage collection. Doesn't make it right, but that
is the way it is.

That's one of the things that bothers me about Java. So many newbe CompSci
people think it is wonderful, but it has so many glaring omissions and all
too often it falls short of a real and useful programing language. Like
Windows, skill in Java comes from knowing the trivia of Java, and not from
the theory and science of your algorithms.

There are a large number of places running real and useful enterprise
applications that were written in Java.

Being skilled in algorithms makes you a good developer. Java does nothing to
take away from that. Being skilled in Java "trivia" - aka the language and
"libraries" - makes you a better developer, but that's true of any language.

Java has its warts. Also true of all other languages I've seen.

Eric

.


Quantcast