33 Replies - 4255 Views - Last Post: 29 August 2009 - 09:55 PM
#1
comp science 1st yr. -- C++ or java ?
Posted 23 April 2009 - 07:34 AM
I want to learn a language in the forthcoming summer break (2 months) between the first year and second year, and am quite confused if I should go for C++ or Java.
I have no previous experience of C++ (I did not have comp sci in school), but I have studied C in the first year.
I have asked a few people and most of them tell me that trying to learn java is no good if I already dont know C++, because then I will not know what the concept of "classes" is, and therefore will not be able to understand Java properly.
In a nutshell, my questions are-
1. Should I learn Java or C++ ?
2. Should I join a proper institute or buy books and do java/c++ at home??
Replies To: comp science 1st yr. -- C++ or java ?
#2
Re: comp science 1st yr. -- C++ or java ?
Posted 23 April 2009 - 08:04 AM
Quote
... is utter garbage. If anything, Java is marginally better for teaching classes and object orientation because in Java everything is in a class.
Either language will stand you in good stead.
#3
Re: comp science 1st yr. -- C++ or java ?
Posted 25 April 2009 - 01:16 PM
But, Where i feel c++ is ahead than java is programming OS based executables( they really are very rigorous if handled properly),While java is mainly used to make web based applications.So , I'll suggest u to learn c++ (it will hardly take 15 days if u already thorough with C )and after that u can learn Java core (within 45 days ,net 2 months)
then u'll be having three languages under ur hood and an option opened for future when u come to chose from web or OS based applications development.
For books vs institution.U r doing B.TECH ! So u are intelligent enough to learn the basic syntax of any language yourself.Just look for "The complete reference " around the stores and start doing it yourself .And remember one thing
"The best teacher u can get is just u".
Algorithm designing and Performance Analysis is rather important than knowing bulk of languages for a software engineer.So keep an eye on your Btech course while learning other stuffs.
#4
Re: comp science 1st yr. -- C++ or java ?
Posted 27 April 2009 - 01:41 AM
#5
Re: comp science 1st yr. -- C++ or java ?
Posted 27 April 2009 - 06:33 AM
#6
Re: comp science 1st yr. -- C++ or java ?
Posted 27 April 2009 - 06:39 AM
From experience I would say take a class in the language that appears harder to you. Having good instruction can make the difference in learning a language that has previously evaded you. You can always use DIC and self teaching to learn the other
#7
Re: comp science 1st yr. -- C++ or java ?
Posted 27 April 2009 - 11:32 AM
William_Wilson, on 27 Apr, 2009 - 05:39 AM, said:
From experience I would say take a class in the language that appears harder to you. Having good instruction can make the difference in learning a language that has previously evaded you. You can always use DIC and self teaching to learn the other
I completely agree. My instructor, while im just in Introduction to C++, said that once you learn C++ you can basically learn a lot of other languages because c++ is a basis for most other languages, along with the fact that C's compile was built in C and it's the only language that has done so, (or that's my understanding), I know I took java last year and when I went into C++ I found java didn't help me at all, infact it confused me more than if I had just started off with C++. I believe if I were to retake that Java class it would be far simpler to understand and comprehend the concepts because of my understanding of C++ now.
#8
Re: comp science 1st yr. -- C++ or java ?
Posted 29 April 2009 - 04:59 PM
Shitij1990, on 23 Apr, 2009 - 06:34 AM, said:
I want to learn a language in the forthcoming summer break (2 months) between the first year and second year, and am quite confused if I should go for C++ or Java.
I have no previous experience of C++ (I did not have comp sci in school), but I have studied C in the first year.
I have asked a few people and most of them tell me that trying to learn java is no good if I already dont know C++, because then I will not know what the concept of "classes" is, and therefore will not be able to understand Java properly.
In a nutshell, my questions are-
1. Should I learn Java or C++ ?
2. Should I join a proper institute or buy books and do java/c++ at home??
Both are good choices. Java is platform independent and also C++ has standard libraries on most systems. If you are comfortable with C I don't think either would be hard to pick up.
The question I have for you is: What do you want to program?
Once you've decided that you try and find out which one suits what you want to program.
#9
Re: comp science 1st yr. -- C++ or java ?
Posted 30 April 2009 - 11:53 AM
#10
Re: comp science 1st yr. -- C++ or java ?
Posted 01 May 2009 - 03:00 PM
#11
Re: comp science 1st yr. -- C++ or java ?
Posted 07 May 2009 - 07:31 AM
When I left Java and turned to C++ I felt as if the chains had been taken off.
#12
Re: comp science 1st yr. -- C++ or java ?
Posted 07 May 2009 - 01:51 PM
So your doing a BTEC....Not sure where your from, but in the UK a BTEC normally leads onto a degree. I have just finished my second year on a computer science degree. Let me give you an idea....The first year means nothing to the degree but all we learnt was java, but dont take this as a guide.
Second year just completed, we studied Object Orientated Programming using java, C++ using the OpenGL Library and C# using the XNA Framework. Its a lot of languages but i think it is best to learn as many as you can. What you will then notice is some languages are very simular to others, like i couldnt believe how similar c# was to java. Many universities in my experience tend to choose java as their primary language, and because i love this language i would advise you too start with this. Once you start getting a bit comfortable with this, start looking at a bit of C++.
#13
Re: comp science 1st yr. -- C++ or java ?
Posted 09 May 2009 - 03:33 PM
#14
Re: comp science 1st yr. -- C++ or java ?
Posted 10 May 2009 - 07:33 PM
#15
Re: comp science 1st yr. -- C++ or java ?
Posted 27 May 2009 - 11:39 PM
|
|

New Topic/Question
Reply



MultiQuote














|