Xepher.Net Forums

Community => Knowhow Trading Post => Topic started by: Lei on September 08, 2005, 11:54:02 PM

Title: Java references?
Post by: Lei on September 08, 2005, 11:54:02 PM
Heya. I'm taking a computer programming class and I was wondering if there were any good Java Reference sites anyone knew?  I could do a lot except I don't remember the names of the class and some of the code I have to import to make what I know how to make.. So that's what I'm looking for, anyone?
Title: Java references?
Post by: Xepher on September 09, 2005, 12:10:28 AM
Java (http://en.wikipedia.org/wiki/Java_%28island%29)
Includes a full history of kingdoms, dutch colonialism, and independance.

Trust me, this Java is much more interesting and worthwhile than that stupid programming language. :-)
Title: Java references?
Post by: Gwyn on September 09, 2005, 12:13:28 AM
I don't know java so i have no idea how good these sites are, someone recomended them.

http://www.w3schools.com/js/default.asp
http://javascript.com/
Title: Java references?
Post by: Lei on September 09, 2005, 02:45:17 AM
see, that javascript, which is scripting for websites. I'm looking for Java the computer programming language. The one that makes programs from scratch instead of enhancing websites. More like visual basic or C++

And Xepher... you're totally not helping : :D
Title: Java references?
Post by: Databits on September 09, 2005, 04:11:57 AM
Funny, I'm in a Game Programming class right now, and the instructor wants us to write our games in Java. I don't, however, know Java in the least. As for all those that say "It's a lot like C++" they obviously don't know C++, because from what I've seen, the structure of Java alone is far different than and C/C++ code I've ever seen in my life.

About the only similarities that I see lie in classes, and even those are structured differently. Give me C++ and a good game development library over Java any day. Or if you're looking for speedy development, go with Python.

My wish? Let Java die, the internet would be a better place without it.

Sorry, I know it's not a lot of help, but if I knew of any good sites, I'd let you know.
Title: Java references?
Post by: Lei on September 09, 2005, 06:48:40 PM
yeah well I like it because it reminds me of PHP :P I'll use it as long as I feel like so there :P
Title: Java references?
Post by: Xepher on September 09, 2005, 10:47:26 PM
But PHP has more in common with C than it does with Java. Object Orientation can take a long walk off a short cliff (in 90% of applications anyway.) That's one reason python is so good. You can do all you want without objects/classes, but if you WANT objects, it does them well too.

The best example of why OO is bloated and python rocks

Java
public class Hello {
    public static void main(String[] args) {
        System.out.println("Hello, world!");
    }
}
C
#include

int main(void)
{
   printf("Hello, world!n");
   return 0;
}
C++
#include

int main()
{
    std::cout << "Hello, world!" << std::endl;
    return 0;
}
And finally, Python
print "Hello, world!"And yes, Lei, I know this still is no help. Sorry, but I don't actually have any good suggestions for you, so I make with the lang-wars instead. :-)

EDIT: All code ripped from http://en.wikipedia.org/wiki/Hello_world_program
Title: Java references?
Post by: Lei on September 10, 2005, 03:36:27 AM
*twitch* Hello World...

I suppose that's all very true. I'm a little lost on C++ one but whatever, right? Funny how my teacher told us Java was one of the easiest, but it seems to have eluded everyone who hasn't ever done anything in coding before. Even a couple of weeks working with php pretty much threw me in the lead : But I suppose Python's an expensive son of a gun, isn't it?

 Don't worry Xepher, you're proving to be amusing to my friends when I check this topic to see if anything has come up. Then they give me weird looks :)
Title: Java references?
Post by: Xepher on September 10, 2005, 04:46:05 AM
Python... expensive? Whiskey Tango Foxtrot!?

http://www.python.org

It's completely free and open source.
Title: Java references?
Post by: Lei on September 11, 2005, 05:21:58 AM
and I am proven wrong once again. :D

Anywho, this is all fine and dandy, but it doesn't change the fact I'm still gonna be learning JAva in school, unless you manage to cyber threaten my teacher or something.
Title: Java references?
Post by: Gwyn on September 11, 2005, 05:54:26 AM
I think EVERYONE uses "hello world" in every example it can be used in.
Title: Java references?
Post by: Lei on September 13, 2005, 11:43:38 PM
yeah I believe so. It was also why I twitch when I see it.

Also, nevermind about the references, we were given big ol' java reference books (he told me not to run away with it, I looked at him seriously and told him I didn't think I would be able to). Even if my teach borrowed mine to look up something and forgot to give it back >_> I'll get it tommorrow though.
Title: Java references?
Post by: Databits on September 14, 2005, 02:13:16 AM
Hmm... that's quite allright. I haven't even really cared too much about my classes projects. It's annoying that I must write things in Java for a game programming course that doesn't truely teach major aspects of game programming. Rather, it's simply making 3 games in the course of the term. No teaching of general good design practices, no information about writing design documents, nothing about target audience... GAH! What sort of game programming course doesn't teach or at least hint at those!
Title: Java references?
Post by: trekkie1701c on September 14, 2005, 11:20:02 AM
Quote from: GwynI think EVERYONE uses "hello world" in every example it can be used in.
No, I once read a c++ book that had a first program that printed out the text "Goodbye, cruel world.", because the author hated the idea of another Hello World program.
Title: Java references?
Post by: Lei on September 14, 2005, 12:38:20 PM
LOL. I'll learn C++ just to see that in print!