Jump to content

Talk:Java (programming language): Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Jeeves (talk | contribs)
on the inclusion of code constructs
No edit summary
Line 1: Line 1:
{{msg:featured}}

There's a paragraph regarding networking facilities that bridges the "platorm independent" goal and "networking libraries" goal. It's not a correct paragraph, but I don't know the best way to split it. Help, please...
There's a paragraph regarding networking facilities that bridges the "platorm independent" goal and "networking libraries" goal. It's not a correct paragraph, but I don't know the best way to split it. Help, please...
-[[:Alan D|Alan D]]
-[[:Alan D|Alan D]]

Revision as of 05:01, 28 March 2004

Template:Featured article is only for Wikipedia:Featured articles.

There's a paragraph regarding networking facilities that bridges the "platorm independent" goal and "networking libraries" goal. It's not a correct paragraph, but I don't know the best way to split it. Help, please... -Alan D

I don't see the problem, if any. The only places those are mentioned together is where they are specifically mentioned as being the goals of the language, where "goals of the language" is the topic. --LDC

If you don't see a problem with it, then I'm happy. -Alan D


Some notes about the Java version history would be nice. An especially which version is included in which browser. Kwaku

Maybe you're confusing Java with JavaScript?

Lee, have a look at [1]. Good reviews so far!  :-) --LMS


This should be moved to a howto somewhere, as it doesn't describe the language at all.

One of the most confusing concept for those just starting to learn the Java language is the notion of a ClassPath that needs to be set before anything can be either compiled or executed.

Hmm, I think this article would be helped with a look-thru of the old Java whitepaper. For one thing, Java is a platform as well as a language. The article as it stands is confusing on this issue. Also a major design goal is a relatively safe language for average programmers, so fingers aren't cut on the difficult parts of programming.

Still, this article is well-written, and I'd change it right now except that it would take a little time to not chop up the text terribly. Maybe I would get rid of the part that says there are "four" design decisions behind Java, and just turn it into a list.


The article is titled "Java programming language", and is about the language, not the platform. If the article doesn't make this clear, then perhaps it could be reworded a bit and linked to another article about the platform. And frankly, the whitepaper is a pretty awful source of information--it's mainly a publicity piece for Sun, that contains all of their goals and ideas, but none of the day-to-day realities of the majority of working Java programmers. This is an encyclopedia, not an advertising medium. --LDC


This appeared in one of the articles, and I don't really think it is encyclopedia content. It's really more of an instruction for us writers, so I'll just leave it here in Talk for now:

Java is a trademark of Sun Microsystems. Like all trademarks, "Java" is an adjective; when referring to Java technology, use a generic term after the word "Java". Correct: "program written in the Java language runs on the Java platform." Wrong: "*program written in Java runs on Java." For more information, visit Sun trademark policies.

JDK versions

How do the JDK version below relate to the so called "Java 2 platform"?

  • JDK 1.0, 1995
  • JDK 1.1
  • JDK 1.2
  • JDK 1.3
  • JDK 1.4, 2002
  • JDK 2.0, 2003

My understanding is that everything 1.2 and beyond is the "Java 2 Platform", but I can't find proof. Here's the Java 2 page: [2]


I object to the phrase "actually the entities containing data" in the section on Object Orientation. It's meaningless and unhelpful. However, I have already deleted it once, and the author re-inserted it. I don't hate it enough to delete it again, so I'll leave it to the wise Wikipedia editors.

Language facilities

"It contains language facilities and libraries for networking (more or less)." - What "language facilities" are being referred to, here?

Perhaps dynamic class loading? --P3d0 21:51, 13 Aug 2003 (UTC)
Which isn't really a part of the language, as defined in http://java.sun.com/docs/books/jls/index.html Reflection is provided entirely by the class libraries. If we open it up to that, then C can do the same.
No, dynamic class loading is not reflection. Two different things. Dynamic class loading is very much a part of the Java language. See http://java.sun.com/docs/books/jls/second_edition/html/execution.doc.html#44459 It is far more pervasive and integral to Java than to C; in fact, all classes in Java are loaded dynamically.
Thats the way the Java virtual machine works, not the Java programming language. Sure they're muddled beyond belief, but I feel as though I can safely draw a line and say that the dynamic loading you're talking about isn't part of the language. (I certainly hope that native implementations of the Java programming language won't do the same thing!)
Ok, what about when I say "2+3" and the VM adds two numbers together? I guess that's also how the VM works, not the language? Honestly, we can argue about this all day, but if you really don't think dynamic class loading is a fundamental part of the Java language, then perhaps we must simply agree to disagree. As you say below, it's not like it really matters anyway. --P3d0 13:08, 19 Aug 2003 (UTC)
Besides, the fact that a language feature is implemented in a library is just good design, and doesn't mean that feature isn't part of the language. For instance, would you say that variadic functions are not part of C just because you need to #include <stdarg.h> to use them? --P3d0 15:52, 18 Aug 2003 (UTC)
I'd say they're part of C because they affect the syntax. IMO, something isn't part of the language until there are syntactic elements related to it. Up until that point, I can get rid of it and replace it. This is getting a long ways away from being something that has anything to do with language facilities for networking. How does the dynamic class loading of the Java programming language (if there are any which pertain to the language, rather than its implementation) distinguish its networking facilities from another language enough that it is worth mentioning them?
Because IIRC the entire motivation to add dynamic class loading was to allow programs to be loaded and run incrementally over a network. --P3d0 13:08, 19 Aug 2003 (UTC)

Java was not designed with the goal to "more or less" have facilities for networking, etc. If you are not satisfied with Java's attainment of those goals, an unbiased discussion of how and why these goals are incompletely attained should follow their detailed description.

Someone has gone completely bezerk with links: [3]. Seriously, do we need links for "reputation", "speed", and "thing"?

This change needs to be backed out. Unfortunately there have been revisions in the mean time.

Maybe we need to get this page protected until the revert is done and subsequent revisions incorporated. But its a pity someone's labour will go a waste. Jay 14:00, 9 Dec 2003 (UTC)

Reverting and merging of later revisions has been done. (See Wikipedia:Make_only_links_relevant_to_the_context for reference). Jay 14:30, 9 Dec 2003 (UTC)

Should we be displaying the Java logo here without permission. Sun's logo website http://logos.sun.com says the terms are very strict for the use of its logos. Jay 14:10, 18 Mar 2004 (UTC)

I would say no — the logo should be removed. RedWolf 01:15, Mar 19, 2004 (UTC)

After reading the usage agreement for the Java logos, I don't believe Wikipedia can use the Java logo on its site unless approved by Sun MicroSystems. I am therefore going to remove the logo from the article.

Also see: http://www.sun.com/policies/trademarks/#20a

RedWolf 02:36, Mar 19, 2004 (UTC)

Wikipedia:Logos states: "It is not necessary to seek formal permission from a corporation in advance of using their logo, so long as the usage is fair use, does not create any impression that the logo is associated with or endorses Wikipedia or the article it appears in, and does not create any reasonable grounds for complaint by the trademark owner. The purpose of the specific guidelines above is to meet these conditions." Fredrik 14:19, 19 Mar 2004 (UTC)

If the Java logo can be used on Wikipedia, then why wasn't it properly handled as per Wikipedia:Logos? For example boilerplate text on the image description page and image caption? RedWolf 17:52, Mar 19, 2004 (UTC)

Don't ask me, I didn't upload and insert it in the first place... I merely replaced the low quality image with a better one. If deleting it seems like the right thing to do, I'm not going to defend the case further. Fredrik 19:46, 19 Mar 2004 (UTC)



From the article: This should not be confused with the

break label;

and

continue label;

statements in C and C++, which function identically to goto.

As a C++ user, I am very confused since these statements do not exist in standard C/C++. I removed this part. Perhaps the author was thinking of some nonstandard extension?

To describe the language constructs or not?

I feel strongly that articles on programming languages should focus on their development and history, and on what sets the language apart from all others. This article does a great job of setting those things forth. However, as a programmer with eir hands in several other disciplines, I think that an article like this is not the place to go into any detail on the language constructs. I personally skim over such descriptions, and the non-l33t reader will certainly do likewise. The intricacies of, say, exception handling or string manipulation simply cannot be conveyed in one or even ten paragraphs of text in a Wikipedia article. Besides, "real" reference materials abound to cover the mechanics of the language, on the Web and in print.

In summary, programmers don't need syntactic information (they already have it), and non-programmers don't need it. I do think the "hello world!" program should have a space, since it can offer a quick glimpse into that language's world that both programmers and non-programmers would find useful.

That said, perhaps articles on programming languages should link to articles that cover their particular syntactic or semantic nuances in more depth, or link to Wikibooks.

Jeeves 14:35, 25 Mar 2004 (UTC)