Favorite Programming Language

Programming, for all ages and all languages.
sonneveld

Re:Favorite Programming Language

Post by sonneveld »

Pype.Clicker wrote: C++ simpler than C !?

well, we must either not have the same knowledge of both language or not have the same definition of "simple" ...
I think, as long as you take advantage of the STL, it might makes things such as lists much easier to handle. (and triple your compilation time to boot!)

- Nick
mystran

Re:Favorite Programming Language

Post by mystran »

Nick Sonneveld wrote: I think, as long as you take advantage of the STL, it might makes things such as lists much easier to handle. (and triple your compilation time to boot!)
I'd say C is much more simple. If you understand C++, it will make some things easier, but I wouldn't say more simple.

C is a very clean language. You have a small set of concepts. C++ has a huge set of things you must know to use it to it's full capability. Because of things like implicit constructors, you actually need to care about much more than in almost any language.

I'm a little divided on STL containers. They are useful yes, but for things like simple linked-list writing your own might be easier, since STL containers don't store objects, but copies of them, which means that if you want to store noncopyable objects into them, you have to use smart-pointers or something.

Sometimes, C++ does allow more simple code, but the language itself is NOT simple. Of the popular languages today, I'd dare to say C++ is the most complicated one.
Post Reply