WHICH ONE WOOULD B BETTER LANGUAGE TO B LEARNED FOR GOING INTO IT INDUSTRY JAVA or C++??
I'VE ALREADY DONE THE COURSE OF C..AND I'M MORE CONFIDENT IN C. NOW I WANT TO INCREASE MY HORIZON...
JAVA vs C++?
Not an IT pro myself, but I get the impression that C++ is more widely used and it would follow on well from your C background.
Reply:I agree with one of the other answers that you'd be best off knowing both Java and C++. Why limit yourself? In my personal experience, I went from C to C++. Coming from C, it took a while to understand the object-oriented concepts and all of the other features that C++ has to offer (generic programming using templates, the Standard Template Library, etc.) but now I feel very confident with the language. Learning Java once I knew C++ was very straightforward since Java is a simpler and more focused language (not multi-paradigm like C++ is).
So, coming from your C background, I would recommend learning C++ first and then Java. I think following that path will better help you appreciate the benefits and shortcomings of both languages with less bias.
Tip: C++, being a superset of C, still supports the procedural programming and almost everything you may be comfortable with in C, so be careful to avoid sticking with what you know. Dive head first into what C++ offers that C does not have.
Reply:c++ is the best best job oriented language
Reply:Well you've mentioned that you did a course in C. I'm not sure how much you know, but if i was in your situation I would start to learn C++. C++ is just a super-set of C. So you will probably have more luck in that area. Though if you want to learn in the direction of web applications i would go ahead with java.
Reply:Both. A strong developer should be familiar with several programming languages.
It is easy to learn Java if you're strong in C++ and vice versa.
So, if you just completed the course of C, you may proceed with C++ then Java. I think that studying C++ before Java is a good idea, because with C++ you will know some generally useful things not available in Java, like multiple inheritance, memory management, etc.
Reply:C++ is becoming more and more a niche language. Look at the job openings and you will see, that Java (or C#) are more often needed than C++.
Going from C to C++ is not easier than going from C to Java - the object oriented concept is not easy to understand, but Java's concepts are better than those of C++, and therefore easier for beginners (also, a lot of error sources only appear in C++ - memory leaks, memory corruption, buffer overflows etc).
Of course that's just my opinion.
I'd recommend to learn C, then Java, and then you can still go to C++.
BTW: switch off the capslock.
Reply:PLEASE DON'T TYPE IN CAPS. If you do, it means you're screaming.
To answer your questions, I prefer C++, because it's much more flexible. If you know C, C++ is dead easy really. It's just the OOP that you need to learn.
Java is much more high-level, not permitting you to work with low-level programming, doesn't have pointers and well... I just all around don't like it :P
Anyway, if you know C/C++, you can master Java in a day at most.
And if you want web based applications, you have C# (which is used for behind coding ASP.NET based ones).
flowers gifts
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment