What are some tips for a programmer who is not yet familiar with C++?

First, start with ANSI C. At least if you are not familiar with it.Anyone who wants to program should first spend two months writing applications in C, where the focus is mainly on statements, conditions and loops. The rest of C++ is only structure. Structures of your data, structure of your code, and structures of communication. That actually has nothing to do with programming itself…

So once you can program in C then you can start laying the focus on structure.The C++ language is simply C with objects that structure code and data better than how C does it. With classes and objects, you actually link small pieces of code and data together to form a whole. But this structure can actually be learned in any object-oriented language and therefore does not have to be taught in C++. If you are familiar with Java or C# then you already know pretty much that C++ is also usable.

You can also contact the C++ author for the basic books you need to have in your library:

A Tour of C++ (2nd edition)

The C++ Programming Language (4th edition)

Programming: Principles and Practice using C++ (2nd edition)

The Design and Evolution of C++

There are many other books and also many online tutorials on C++ But these books are from the same person who once figured out that C would be much better if it has objects.They are large, heavy books that describe a large part of the C++ standard and also tell you how ultimately everything originated and what thoughts are behind the techniques. A lot of reading work but it’s worth it.

Furthermore, you will have to learn more about “Design Patterns” that are actually independent of programming languages.In fact, Design patterns revolve around the structure of your code, not the language. Good learning so and then you can program in most languages.

Important read feed on this is Design Patterns by Erich Gamma.But also learn about anti-patterns and find The Book antipatterns, which is definitely worth it!

Further, learn UML!You don’t have to be an expert in creating UML diagrams, but you need to be able to read and understand them. Knowledge of UML ensures that you are more involved in programming and less with structure, because a colleague of yours does it the other way around! He focusses on the structure and not on programming. This way you can specialize both and thus provide a good quality code. (And possibly correct each other and help if necessary.)

Leave a Reply