About programing, a general question
Thomas Kaiser
ubuntu at kaiser-linux.li
Fri Dec 17 20:22:11 UTC 2010
On 12/17/2010 03:11 PM, Boggess Rod wrote:
>> OS. So as in future, I would be turning towards Linux, I guess C would
> be
>> good (based on the suggestions of the community members) though I
> always
>> understand that there are principle which are to be grasped at first
> and
>> these are same irrespective of the language adopted via interest.
> Possibly,
>> C++ would not be that easy to start with (without knowing C!!) as it is
>> merely the 'More C', what guys comment. Perhaps, taking the first
> priority
>> as Linux, I hope I would not be having bad luck if I starting with C
> and
>> simultaneously look into the basics of Linux too.
>
> If you learn C with the intention of becoming a C++ programmer, I hope I
> never have to program with you. Trying to teach someone the concepts of
> Object Oriented Programming when they believe that the only difference
> between C and C++ is that C++ is an extension of C is akin to being
> stuck in a traffic jam in a flying car because it's just an extension of
> a car. If you really want to know C++, then learn C++. If you already
> know C, it will make the syntax easier, but you'll still have to learn
> how to use the new syntax, and that will have to start with unlearning
> EVERYTHING you learned in C -- the difference between a function-centric
> program and a data-centric program is a vast gulf. Both will ferry you
> to Hades, but one drops you off at Tartarus and the other delivers you
> to the Elysian Fields.
>
> Seriously, it's much easier to learn C after you've learned C++. If you
> know C++, the only thing you'll need to learn to program in C is how to
> grit your teeth silently. C and C++ are my two favorite languages, and
> I've been in this business a very long time, and I'm actually better at
> C. It's really not about the syntax. Oh, and C is not nearly the oldest
> daughter of Formula Translation (ForTran) -- Beginners All-purpose
> Symbolic Instruction Code (BASIC) is. (I'm really showing my age here.)
>
Object oriented programming has nothing to do with the programming
language you use! It's a concept. I did object oriented programming 12
years ago on Mitsubishi PLC's. It's the concept and how you code it. C++
helps with coding in a object oriented concept/way, but the language
itself can not get you the object oriented view, only the concept.
Just my thoughts.
Thomas
More information about the ubuntu-users
mailing list