Thread: What language ?
View Single Post
Old Oct 24th, 2005, 7:07 AM   #19
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
This question comes up a LOT, so I want to pursue this one aspect of it (C vs C++). Please don't presume that it's picking on you. You have put forth a position I fail to understand, so it's your job to explain a bit.

It's easy to understand why people recommend Python or PHP or something else. The languages are different. I also realize that you think your learning of C, first, was beneficial.

Instead of challenging you, I'll attempt to get an answer in a different way. What did you learn in C, that was so beneficial, that you couldn't have learned in C++, with the same effort?

That's a germane question, and addresses the OP's concerns. Obviously, I personally didn't learn C++ first. It didn't exist. I can't be saying, "I did it, and it worked for me." I'm saying what you need to learn is as easily learned in C++ as it is in C. One of my reasons for saying that is that C++ is very nearly (not quite) a superset of C. What you learned in C is mostly available for learning in C++, in exactly the same way. I'm trying to get you to explain, for everyone's benefit, why that isn't so.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote