Reply to post: It's not the features, it is how you use them that counts!

What's all the C Plus Fuss? Bjarne Stroustrup warns of dangerous future plans for his C++

Libertarian Voice

It's not the features, it is how you use them that counts!

I write a lot of code in C++ that has to interface with C libraries and do not have the time nor inclination to create wrappers for every library as I would never get any work done. This is what happens in the real world; most companies are not prepared to pay you to write wrappers and would much rather employ programmers that have a reasonable understanding of C and can use it withing C++ programs and find workarounds where necessary.

The problem with c++ is not the code itself (you either use STL features or you don't, it is up to you); it is the evangelists who insist that you should write everything using strict OOP and every single available feature to write a hello world program.

The good thing about the STL is that it can save an awful lot of documentation if used properly, and OOP too has its place. Where I start to get a little annoyed with cpp is its determination to hide or mess around with what are basically pointers just for the hell of doing so, it makes no sense and over complicates things unnecessarily.

I like the language, I like the features and I like the fact that I can still use C code quite comfortably within, should the need arise or should it make the code more readable (which in many cases it does).

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon