Lurker News
Do you have some good advice or know any useful resources to learn in a proper way how to code in C++? For the context, I know some C, but C++ seems a different kind of beast, and it's easy to get lost in the huge variety of features and libraries it offers.

Comments (173) 47 threads

Show all comments

Showing thread 47 of 47

qdoop1 reply#
C++ is just C with extra notation for easy modeling of Classes and Objects. While C still remains valuable, C++ is in my opinion questionable and there are many excellent alternatives like Java or C# for doing similar things and much more. I have programmed in C++ for many years and honestly would not suggest it to any one but anyway here are some excellent resources.

ftp://bitsavers.informatik.uni-stuttgart.de/pdf/borland/borland_C++/Borland_C++_Version_2.0_Getting_Started_1991.pdf (Read chapter 4 C++Primer. The hole folder is a rare jewel)
https://docs.microsoft.com/en-us/cpp/cpp/cpp-language-refere... Probably the best documentation of C++ by far.
P.S. If you are desperate on learning C++ I could give short course saving you time and money.

chi31 reply#
> C++ is just C with extra notation for easy modeling of Classes and Objects.

That's far from true today, and I'd even argue it hasn't been true since very early on. Simple example to prove my point: RAII.

qdoop1 reply#
So you know https://en.wikipedia.org/wiki/Resource_acquisition_is_initia... Good for you.

"Object Oriented Programming puts the Nouns first and foremost. Why would you go to such lengths to put one part of speech on a pedestal? Why should one kind of concept take precedence over another? It's not as if OOP has suddenly made verbs less important in the way we actually think. It's a strangely skewed perspective." from https://en.wikipedia.org/wiki/Object-oriented_programming criticisms says a lot.

chi31 reply#
That's quite irrelevant to the conversation though, we weren't talking about whether OOP is good or not. C++ is very far from "C with classes" today.
qdoop1 reply#
Ok but still OOP is the central idea and also there is this trend the most annoying one to always try modeling everything as classes and objects.

Continue this thread — 1 reply