Learning Java

For discussions about game development that does not fit in any of the other topics.
Post Reply
User avatar
mattykins
Posts: 203
Joined: Sun Jan 15, 2012 10:15 pm

Learning Java

Post by mattykins »

Hello everyone! I've decided that I would like to learn a little bit of Java programming. Mainly because I want to make a mod for Minecraft haha :) But it would also be fun and interesting to learn.

I was wondering if anyone had any suggestions as to where I should start learning java, any good e-books or youtube tutorials I should know about? Thanks guys! ^_^
User avatar
dreamer
Posts: 24
Joined: Sun Jan 30, 2011 8:20 pm

Re: Learning Java

Post by dreamer »

The way I learned was through youtube. The mybringback youtube channel has a basic Java Tutorial playlist and a Java Game Applet playlist.

Here is the channel http://www.youtube.com/user/mybringback.
User avatar
UnknownUser
Posts: 51
Joined: Tue Sep 08, 2009 2:54 pm

Re: Learning Java

Post by UnknownUser »

When a programming language is created that allows programmers to program in simple English, it will be discovered that programmers cannot speak English. ~Author Unknown
User avatar
mattykins
Posts: 203
Joined: Sun Jan 15, 2012 10:15 pm

Re: Learning Java

Post by mattykins »

Thanks everyone :)
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Learning Java

Post by Jackolantern »

The most complicated part about learning Java is learning OO at the same time if you have limited exposure to it. You will feel like you know what is going on with OO until you look at others' code, and you will suddenly be lost. I struggled with OO for a while when I tried to learn it while learning C# a few years back. What finally made it click was a bit earlier edition of Teach Yourself Java. It shows off and teaches OO very well in a way that really makes sense. So I highly suggest it.
The indelible lord of tl;dr
User avatar
mattykins
Posts: 203
Joined: Sun Jan 15, 2012 10:15 pm

Re: Learning Java

Post by mattykins »

I got a taste of OO programming when I learned C#, and from what i've read C# used to be viewed as a clone of Java, however it is not viewed like that anymore. Although i'm sure I will find many similarities between the 2 languages.

Thanks for all the book and video recommendations everyone :)
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Learning Java

Post by Jackolantern »

Today, honestly I can say Java feels kind of like a stripped-down C#. .NET has evolved much further and faster than Java, but that in part is due to .NET being advanced with little care for backwards-compatibility. Also, the designers of .NET have carte blanche to make changes, whereas the Java design process seems much more grounded, slower, etc. They are both great languages, but I definitely agree that C# is not a Java clone anymore. If anything, the last few feature-swaps have been from C# to Java. But Java seems a bit more stable for having a slower evolution curve.
The indelible lord of tl;dr
Baseball435
Posts: 548
Joined: Sun May 30, 2010 3:49 am

Re: Learning Java

Post by Baseball435 »

Yeah I love Java, have been programming with it for two years now and have learned a lot.

I have a series of game tutorials that I made (not yet finished completely) but it does require pre-knowledge of Java. I too learned C# and I have to say they are very very similar I just prefer Java over it. I've also created a few minecraft mods but you have to learn how the minecraft coding works before you can start.

Here's my channel:
Http://www.youtube.com/user/baseball4355

~baseball435
Xaleph
Posts: 897
Joined: Mon Feb 07, 2011 2:55 am

Re: Learning Java

Post by Xaleph »

Java is a more stable platform, it has a widespread community all over the world and it`s the most widely adopted programming language, so calling it backwards.. meh. That argument won`t fly sorry. Java is the best language to learn OO and you can get results quite fast. Obviously, it doesn`t have the GUI IDE`s like C#, then again, there`s no possibility for it, it works on every platform and since every platform has their own GUI + API`s, it just wouldn`t work.

The best way to learn Java is by doing it, try downloading Eclipse or Netbeans and start writing some code. Get the syntax, learn what classes are located where, try downloading some usefull packages, try experimenting with it. It`s the best way to go.
User avatar
Jackolantern
Posts: 10891
Joined: Wed Jul 01, 2009 11:00 pm

Re: Learning Java

Post by Jackolantern »

Who called Java backwards? I said it was more backwards-compatible than C# because the .NET team doesn't seem to care about breaking older code in newer runtime versions (older .NET runtime emulators are loaded based on metadata with assemblies, but only a couple of versions back. I got a .NET 1.1 networking book a while back, and basically none of the code would compile in .NET 3.5). Java on the other hand has stayed very backwards-compatible, with even 1.0 code still running flawlessly in the latest JVM.

Also, this is an old conversation. It was necro'd by "learningdom", which I am about 95% sure is a $pam b0t. I will give him a couple of hours to deny it before nuking 'em lol.

EDIT: And actually, Java GUI editors actually can work, but the behind-the-scenes work to get them cross-platform is a bit beyond the scope of Oracle's involvement in the language, and it has fallen to tool developers (even Oracle's own NetBeans, but I still agree in keeping it segregated out of the JDK). Beyond Netbean's excellent GUI editor, there are a several other commercial offerings with more features, or that basically write more code for you.

I like both Java and C#. They once occupied the same space, but not really anymore.
The indelible lord of tl;dr
Post Reply

Return to “General Development”