Category Archives: Java Misnomers

These posts are about confusing names and keywords in Java. I use Java a lot and I know many of the terms that cause a lot of confusion. I try to explain why the term was used and what better alternatives would exist.

Misnomer: static Keyword

If you look up “static” in a dictionary you find many meanings, none of which explains its use in programming languages. So why is it used in Java, and how is it misunderstood? Continue reading Misnomer: static Keyword

Advertisements

Misnomer: List Interface

Some think “List” is a misnomer. I don’t even mind so much. I think List is ok.

I just put this here because there already is an entry in the FAQ:

Why don’t you rename the List interface to Sequence; doesn’t “list” generally suggest “linked list”? Also, doesn’t it conflict with java.awt.List?

PS: Vector is strange, though. It is synchronized and it really should be SynchronizedList. But it is defacto deprecated. So who cares?