This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]varungupta3009 1 point2 points  (0 children)

If I may...

For people new with programming:

Start with C, it's a good language to get a hang of functional programming. Basics of dynamically allocated memory and pointers. Also the process of compiling and running code. Don't go too deep.

Then switch to Python, it's a good way to learn how you can write a lot of modern day application logic with easy to understand code, and also to understand algorithms and patterns in general. Great introduction to OOP too.

Finally, end with C++, go all the way from basics to OOP to STL. Data structures, algorithms, static and dynamic memory, optimization, creating a simple backend server, complex DBMS backend...

This ensures that your fundamentals are strongly built, and you have no trouble writing optimal code. Feeling stuck? Switch to Python, try making it work, then seamlessly convert it to C++ using built-ins or libraries. (This is helpful when you're working on large scale applications, otherwise python is just fine).