Learning Java
Moderator: General Moderators
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
I've been refreshing Java (I haven't used it in years - maybe 1998 or so).
If you are familiar with PHP 5, then that's a great deal of the nuts and bolts learning out of the way. Of course that same advantage also applies to other languages... I would suggest looking up changes to Java 1.5 since I've already been using those new things and I certainly liked them (think how you would have managed a variable number of parameters in Java 1.4).
Do I recommend learning it? Why not? I always try to get a foothold in a new language each year. This year it's Java, next year I'll focus on Ruby. Have already worked with Python, and PHP was my language to really work a lot with since last year (had it in tow for "scripting" not true programming before that).
Java is also pretty simple to start with for Desktop apps - get a handle on Spring and Awk and the basics are easy to pick up.
If you are familiar with PHP 5, then that's a great deal of the nuts and bolts learning out of the way. Of course that same advantage also applies to other languages... I would suggest looking up changes to Java 1.5 since I've already been using those new things and I certainly liked them (think how you would have managed a variable number of parameters in Java 1.4).
Do I recommend learning it? Why not? I always try to get a foothold in a new language each year. This year it's Java, next year I'll focus on Ruby. Have already worked with Python, and PHP was my language to really work a lot with since last year (had it in tow for "scripting" not true programming before that).
Java is also pretty simple to start with for Desktop apps - get a handle on Spring and Awk and the basics are easy to pick up.
There have been a ton of changes to JAVA aka JAVA 2 (Introduced in 98)The Ninja Space Goat wrote:9 years... nah I'm sure everything is exactly the same as it was in 1997. LOL.Everah wrote:I wonder how complete it could be coming from 1997. Has Java changed much since then? And what the heck are you thinking, moving into programming. Don't you know that is for the 'real' geeks? :wink:
I think the book I have is just fine for learning fundamentals (syntax, core classes, etc.) but once I have learned that, I will need a better book. I am definately more interested in learning java because it is OOP completely instead of procedural with oop built in (like php and c++). I think that if nothing else, this will develop my OOP skills in PHP.
http://en.wikipedia.org/wiki/Java_progr ... on_history
I have always had a difficult time wrapping my head around binary. I understand the concept... using base 2 instead of base 10... but sometimes when I try to understand concepts which aren't base 10 I get very confused (same way with hexadecimal). Anybody know of a good article or something to understand these concepts?
Is this a correct sequence? If so, what comes next?
0000, 0001
0010, 0011
0100, 0101
0110, 0111
EDIT: I figured it out.
Is this a correct sequence? If so, what comes next?
0000, 0001
0010, 0011
0100, 0101
0110, 0111
EDIT: I figured it out.
I have actually put off learning java for a while, but I was wondering... is Java a good language for me to learn? My main goal is to improve my oop skills and maybe get some perspective from developing oop in something other than php, so I can apply that perspective to my php applications. Does Java fit that goal?
Re: Learning Java
Unfortunetly, I will have to sit through a full year of java this comming fall/spring semesters as it's mandetory for all Engr students.shiznatix wrote:my advice is to not learn java. learn python or C or somthing but java is just so ugly.The Ninja Space Goat wrote:any resources or advice is welcome.
I like C++ and Visual Basic so much better.
I have never even touched JAVA.... I wonder how I will fare.
-Matt
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
For one, it's much older. Since there are still a lot of people out there that "grew up" using C/C++, there's a lot of loyalty.The Ninja Space Goat wrote:Is C++ (generally speaking) liked better than Java?
It's a rather difficult question to answer. Some say it's too OOP. Everything is an object, and I do mean everything.The Ninja Space Goat wrote:What makes java such a controversial language (if it even is... which it seems like to me)?
Some say it's got a lot of overhead. Some say it's too slow. Others say it's too abstracted from the hardware.
I personally like C# over Java. It's more similar to C/C++ -- my old friend. Yet it's not as OOP crazy as Java. It carries some ideas from Java, C/C++ and Delphi to the table. The only problem I have with it is it's still not quite cross platform. But it is one of the newer languages on the block, so I understand it may take some time to adapt the JIT and CLR across platforms.
allrighty then,.... some referrence to C#!! go feyd!feyd wrote:For one, it's much older. Since there are still a lot of people out there that "grew up" using C/C++, there's a lot of loyalty.The Ninja Space Goat wrote:Is C++ (generally speaking) liked better than Java?
It's a rather difficult question to answer. Some say it's too OOP. Everything is an object, and I do mean everything.The Ninja Space Goat wrote:What makes java such a controversial language (if it even is... which it seems like to me)?
Some say it's got a lot of overhead. Some say it's too slow. Others say it's too abstracted from the hardware.
I personally like C# over Java. It's more similar to C/C++ -- my old friend. Yet it's not as OOP crazy as Java. It carries some ideas from Java, C/C++ and Delphi to the table. The only problem I have with it is it's still not quite cross platform. But it is one of the newer languages on the block, so I understand it may take some time to adapt the JIT and CLR across platforms.
I am dying to learn C# (get some basics down, get used to it, that is) because you can make good games with this language.... i believe there was a free seminar (online) at Microsoft... but that was like 2-3years ago...
cant find time from php/c++ right now. and soon java... otherwise, C# is on my to do list.
-Matt
I've been thinking about learning Java specifically: Beans, Struts, and JSP. I've looked at it some. I can only think of one website off hand that uses java on the web. But I can't figure out why it isn't more common. Is it a speed issue? Is the language that difficult? Absence of a solid IDE? Or have I not looked around much?
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Python, C++, C#, Java, Delphi are the notable OOP platforms that come to mind.
For sites that run on Java, or more specifically JSP, one I've worked on (a long time ago, dunno if it's true now) is Andale.com. I've seen others. The JSP pages we used to work on were fast (after bytecode compilation) but the way they were built, I felt was too complicated. It should be of note that at the time, PHP didn't exist and Perl was my "major" language.
For sites that run on Java, or more specifically JSP, one I've worked on (a long time ago, dunno if it's true now) is Andale.com. I've seen others. The JSP pages we used to work on were fast (after bytecode compilation) but the way they were built, I felt was too complicated. It should be of note that at the time, PHP didn't exist and Perl was my "major" language.
- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am