Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 20th, 2005, 8:06 PM   #11
theguy0000
Programmer
 
Join Date: Jul 2005
Posts: 73
Rep Power: 4 theguy0000 is on a distinguished road
i just started today actually and i have a fairly good understanding of the basics.
theguy0000 is offline   Reply With Quote
Old Dec 20th, 2005, 8:15 PM   #12
Kilo
Expert Programmer
 
Kilo's Avatar
 
Join Date: Nov 2005
Location: In Pink Clam?
Posts: 542
Rep Power: 0 Kilo is an unknown quantity at this point
Send a message via AIM to Kilo
If you want to learn C++ in the end, why learn Java first? Just for school? In my opinion Java is pointless if you have C/C++/C#. Besides the point Java web applets are done(no more) no matter how much any one attempts to argue it Java is going into the gutter! BOOO! BOOO! I would also like to add that I also have to take 3 months of Java here soon. *YAWN*
__________________
"When in Rome, Do as the Romans Do"
"Beauty is in the eye of the BEER holder"
"Save your breath your going to need it for your blow up doll later"

SearchLores.org
Kilo is offline   Reply With Quote
Old Dec 20th, 2005, 8:42 PM   #13
para
Programmer
 
Join Date: Dec 2005
Posts: 65
Rep Power: 3 para is on a distinguished road
Quote:
Originally Posted by reggaeton_king
VB is very very easy, I'm taking a "Intro to Computer Science" class and we have to use VB as the introductory language before going into Java in "Computer Science: Intro to Java" I just so happen to have quite knowledge on VB, not by choice I might add. But's what has gotten me in Programming and that's why I decided to learn Java and then go for C++ and VB. NET which I heard are better languages than VB. I am trying to learn Java myself with a few tutorial books and a few editors (JCreator, BlueJ, Eclipse, and I also have Visual Studio 2003 .NET) which I only toyed around with using VB 6.
If you're serious about programming, be it for fun or for a career, I recommend skipping Java and going to C++. I feel I should say I've never written anything in Java, nor do I know the language, but I've been made aware by a friend of mine who had to take several classes on the topic of some of the language mechanics (for example, and this may mean nothing to you now but it will: deallocating memory back to the heap can not be done explicitly in Java.. ouch).

Now I think for a beginner the difficulty of you learning either Java or C++ is going to be about the same, but C++ has (I feel) a much larger potential for writting applications/games than Java. Because of the diversity of C++, you may want to consider trying your hand in the language for a few days (coming off Java) and see how you like it. I think you will be surprised.

Of course if you need to learn Java for school, obviously you're going to have to learn it anyhow. But I should still consider giving C++ a chance after you finish. You can start here http://www.cplusplus.com/doc/tutorial/

I would say for C++ (probably about the same for Java), around 2 months to be fully comfortable with the basics and ready to move on to slightly more advanced topics (inheritance, etc). After around a year of practice and learning new things on your own, you'll be ready for more intermediate topics (polymorphism, binary trees, linked lists, other mid-range data types), and after a few years you'll be ready for advanced topics (function pointers, dynamic programming, sockets, system API, etc). Of course you can never fully learn a langauge, so the longer you work with it the more advanced your code may become I think this is the average learning speed.
para is offline   Reply With Quote
Old Dec 20th, 2005, 9:33 PM   #14
Jessehk
The Oblivious One
 
Jessehk's Avatar
 
Join Date: May 2005
Location: Ontario, Canada
Posts: 642
Rep Power: 4 Jessehk is on a distinguished road
Quote:
Originally Posted by para

I would say for C++ (probably about the same for Java), around 2 months to be fully comfortable with the basics and ready to move on to slightly more advanced topics (inheritance, etc). After around a year of practice and learning new things on your own, you'll be ready for more intermediate topics (polymorphism, binary trees, linked lists, other mid-range data types), and after a few years you'll be ready for advanced topics (function pointers, dynamic programming, sockets, system API, etc). Of course you can never fully learn a langauge, so the longer you work with it the more advanced your code may become I think this is the average learning speed.
I would agree. It took me a long time to get a grasp of the basics, but now, as a result of reading, trial-and-error, and doing exercises in books, I feel confident in C++ syntax. At my stage, one would probably move on to learning binary trees and linked lists, etc. It took me about half a year to get where I am. So, going back to the original thread topic, I would say from my expirience (sp?) learning C++, that it would probably take about (1/2) year to learn the basis of Java.
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS!

Last edited by Jessehk; Dec 20th, 2005 at 9:48 PM.
Jessehk is offline   Reply With Quote
Old Dec 21st, 2005, 3:17 AM   #15
Klipt
Hobbyist Programmer
 
Join Date: Dec 2005
Posts: 118
Rep Power: 0 Klipt is an unknown quantity at this point
Quote:
Originally Posted by para
(for example, and this may mean nothing to you now but it will: deallocating memory back to the heap can not be done explicitly in Java.. ouch).
You don't need to. It has a garbage collector. You can explicity call that and all unreferenced memory will be released, but explicit calls usually aren't necessary.

Quote:
Originally Posted by para
and after a few years you'll be ready for advanced topics (function pointers, dynamic programming, sockets, system API, etc).
What's dynamic programming?

Bruce Eckel also has a free book called Thinking in Java.
Klipt is offline   Reply With Quote
Old Dec 21st, 2005, 3:17 PM   #16
para
Programmer
 
Join Date: Dec 2005
Posts: 65
Rep Power: 3 para is on a distinguished road
Quote:
Originally Posted by Klipt
You don't need to. It has a garbage collector. You can explicity call that and all unreferenced memory will be released, but explicit calls usually aren't necessary.
I didn't say you needed to. It's benefitial to be able to explicitly deallocate memory without needing to invoke a GC.

Quote:
Originally Posted by Klipt
What's dynamic programming?
It's an interesting topic. Basically if you solve a problem by breaking it into subproblems, some of which may be the same. The idea is to temporally store the result in the event it is needed again, thereby increasing the efficiency of solving the larger.

There some more information on it here: http://en.wikipedia.org/wiki/Dynamic_programming
para is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:57 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC