L
Lew
grz01 said:First, I suggest you simply stop reading my postings if they make you
so upset -- no good for your health...
How do you read that I'm upset? I'm not upset. I merely pointed out that
you've been repeating your same questions and complaints in post after post
without much evidence that you have taken the advice or free code that has
been offered, and beyond that, engaging point by point in the lively and
interesting discussion that you introduced.
Second, from what I can see, what they call "polymorphism" in Java, is
something totally different from polymorphism in the functional
languages that I have been working with (Haskell, ML, etc).
Here's what I mean by "(type) polymorphism" in computer science:
<http://en.wikipedia.org/wiki/Polymorphism_(computer_science)>
Java features certainly fulfill the definitions in that article, for both
"ad-hoc polymorphism" and "parametric polymorphism". In fact, it even points
out that "Java, C#, Visual Basic .NET and Delphi (CodeGear) have each recently
introduced 'generics' for parametric polymorphism." Needless to say, Java has
had ad-hoc polymorphism from the get-go.
Naturally the expression of polymorphism will differ between a functional
language and an object-oriented language. Of course.
You have to step back and look at the definition of the term, and by that
meterstick Java certainly features polymorphism.