|
Authored by: Anonymous on Thursday, May 10 2012 @ 11:02 AM EDT |
Structure of OO programming languages
which Java nabbed of it's predecessors
[ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Thursday, May 10 2012 @ 11:29 AM EDT |
Java is a language and a platform, not a program. And, no, Sun
did not
have to use packages or put any exact class in any exact package when
it
organized the language's standard library. However, someone who wishes to
have
a platform wherein a program written in java runs without modification will
have to duplicate faithfully Sun's methods, objects, and packages. The more
one diverges, the more programs that will not execute in the new
platform.
Or, to stand your question on its head, was Google's choice a
superfluous convenience and not a necessity. Yes it was. They could have
brought Android to market without those few concepts from Sun's
java.
Please note, this is not endorsement of Oracle's position that
those
concepts gained protection via the publication of documentation. [ Reply to This | Parent | # ]
|
|
Authored by: hardmath on Thursday, May 10 2012 @ 11:34 AM EDT |
After all, who wouldn't want to write the byte-code
themselves, perhaps using Notepad?
---
"Prolog is an efficient programming language because it is a very stupid theorem
prover." -- Richard O'Keefe[ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Thursday, May 10 2012 @ 01:54 PM EDT |
Except, of course, for the "package" keyword which makes a
definition visible only to other members of the same package.
So maybe packages _do_ mean something, sometimes.[ Reply to This | Parent | # ]
|
|
|
|
|