Thoughts on C++? (63)

17 Name: #!/usr/bin/anonymous : 2009-04-10 15:37 ID:KlJ5iV+7

Personally I have a dislike for C++ because it forces you to do the memory managment yourself. Most OOP languages use some sort of garbage collection system, wich is handy and can, to some point, be controlled and finetuned to meet your own needs.

The pro of C++ is that you can write very fast very memory efficient code on it. This basically stems from a) doing the memory managment yourself, so you know exactly what is going to take up how much space. and b) C++ incorporates C, wich in all due respect is quite low-level and thus allows lots of finetuning.

Most OOP languages nowadays however are much easier to learn and master than C++. Take up Java or C# and you'll see they're very much alike. I learned Java first, only then to move on to C++. I was horrendously annoyed by what I COULDNT do in C++ that I could in Java. Well sure I could program it all myself, but that would take alot of time, and time is money in the business world.

Therefore whenever I program I use Java or C# for high-level stuff, and in the event that I need to work low-level, such as on an embedded system, I use C. I don't touch C++.

That being said, knowing C++ is still important in today's job market sadly. Most companies still stick to it even though C# and Java are far superior IMO. Fortunately my current work works fully in Java.

This thread has been closed. You cannot post in this thread any longer.