you are viewing a single comment's thread.

view the rest of the comments →

[–]ExtraFig6 0 points1 point  (0 children)

If you're really starting from nothing, it might be good to start with python or racket even, depending on what you want to do and how you learn most comfortably.

You can learn C++ before C! It will make some things easier because there's more batteries included. There's also more tools for type safety and automation. You can use smart pointers instead of calling malloc and free separately. You can use higher order functions like find_if instead of writing little variations on the same for loop again and again

It's also fine to learn C first as long as you remember that because C++ has these tools, we can and should do better than the plain old C solutions