Do you think it's worth learning C before C++ or just take the plunge and jump to the superset?
Printable View
Do you think it's worth learning C before C++ or just take the plunge and jump to the superset?
It is good to know both of course but picking one and sticking with it is the most important thing. C is easier to learn than C++ because their are less features in C. It's really up to you heh.:) Not sure if it is worth learning C before C++ though, the creator of C++ says it is not, but hey that's just his opinion:)
Thats something you will have to decide on your own. Some say its easier to learn C then C++. Others say its pointless to learn C because its notused as much as C++. Others say that its harder to learn C then C++ becuase even though the syntax is a lot alike, there are differences in the way things are done. I say, dont depend on someone else making that decision for you, if you have time, learn both, it will only help you later.
just go right into C++. For all intents and purposes once you've learned C++ you will have learned C as well (you'll be able to read and understand C code if you can read and understand C++ code).
If you don't have a problem learning them both, just learn whatever you need to learn, or whatever you are being asked to learn, otherwise learn them.
Depends. C is used in Embedded systems alot more than C++. In either case, I find that I use C-compatible code with C++. I think that its best to try to keep your syntax portable within both languages. But you make up your own mind.
>Do you think it's worth learning C before C++ or just take the
>plunge and jump to the superset?
C and C++ are different language. If you want to learn C, then learn C, if you want to learn C++, then learn C++.
they're different, but very close one to each other, not for joking is called c++ and even not for joking c++ is a superset of c. My opinion, learn C before, C++ isn't so easy (neither C).
>My opinion, learn C before, C++ isn't so easy (neither C).
The languages may look a lot like eachother and yes, C++ has a basis in C, but the main difference is not the languages itself, but the use of it. C++ is usually used to do object oriented programming and C is usually used to do procedural programming. So learning a programming language is not only just learning the language, but also learning a way of programming. That is the reason why, in my opinion, C++ and C are quite different languages.
[edit]
>Or you could skip both of them and learn Java.
Java is a nice language. You can skip whatever language you like and learn some language. Just do the thing you like to do most.
[/edit]
Shiro, you're correct man, of course they're differents, I'm just trying to show that some people think that learning C is wasting time, and goe's learning C++ without knowing what's programming, maybe I'm not someone with a little bit experience to talk, but, for me at least, learning C isn't waste of time, I really like it.
I would reccommend that you learn C++ and don't bother w/C unless you have alot of time on your hands. C++ is basically a better C w/OOP and some other features. Plus I've heard that those who learn C before C++ have a hard time learning C++ cuz what is considered "good" programming practice in C is "bad" for C++.
I would recommend Java over both of them.
>>> recommend Java over both of them.
Yes, you would, however, the original questioner was asking if he should learn C before learning C++, so it is not a helpful suggestion really is it?
Maybe he hasn't been exposed to Java. Maybe he's only heard the blind acceptance of C/C++ by you folks. Maybe he should skip C and C++ to learn a language designed for OOP. Maybe, oh just maybe...Quote:
Originally posted by adrianxw
Yes, you would, however, the original questioner was asking if he should learn C before learning C++, so it is not a helpful suggestion really is it?
C++ is not designed for OOP?!? Last time I checked it was.Quote:
Originally posted by CompiledMonkey
Maybe he should skip C and C++ to learn a language designed for OOP.
We aren't "blindly accepting" C/C++. We're merely answering his question w/o straying off topic.Quote:
Maybe he's only heard the blind acceptance of C/C++ by you folks. Maybe, oh just maybe...
And has it ever occurred to you that maybe he DOES know about Java, and chose to do C/C++ anyway? Maybe oh maybe...