|
Authored by: Anonymous on Monday, May 21 2012 @ 12:58 PM EDT |
> 3) No distinction has ever been made between APIs that should be
considered "core" to the language and those that are not
> 4) java.x is the obvious namespace of the language
> 5) java.x is free to use too
Your reasoning is false.
Re (5): Andorid has copied not just many of the java packages but
some of the javax packages too.
Re (4): In fact, java.lang is both the obvious and official
namespace of the language, and the only one that's imported by
default.
Re (3): Well, it's true that no one has ever clearly defined what
is core to the LANGUAGE and what is not (though you could easily
claim that only those APIs discussed in the Java Language
Specification are part of the language), but there have been other
definitions for what is essential (to the SDK). One is called Java
SE. It defines a set of required packages . Android provides only
a subset of that API and replaces some of the packages with
alternate APIs. Another is Java ME. Andorid provides a superset
(sort of) of those packages, and those packages that are in SE but
not in ME are obviously not essential to the language, as an
entire Java ecosystem does without them. Also, some of the
packages have been added only in recent versions of Java, and are
therefore clearly not essential to the language.[ Reply to This | Parent | # ]
|
|
|
|
|