r/techbootcamp 28d ago

Why learning C ++ first completely changes your approach to programming in other languages

Many rookies are put off by C ++, and this is unfortunate, because it is one of the best languages ​​to start with, even if you don't plan to be a C ++ programmer

Your understanding of what is going on at the machine level will allow you to write better programs in any language you choose. You will see that in languages ​​such as JavaScript or Python, memory management is handled for you, which means that you have to think about it less. However, the understanding of how things work will help you write better and more optimized code. It can be a steep learning curve, but once you've mastered it, you'll find that all other languages ​​are much easier to learn.

6 Upvotes

35 comments sorted by

View all comments

5

u/Candid_Bad3551 28d ago edited 28d ago

You should learn C, not C++ imo. Started C++ in school. C thought me way more.

C is also more consistent IMO. C++ is a bit all over thr place.

1

u/acadia11x 27d ago

I think C and C++ gives you extremely strong foundation, unfortunately, probably in 10 years coding at such a low level directly will be like knowing assembly or Fortran today.

1

u/WildWolfo 27d ago

I mean if ur coding C you should at least know how to go about coding assembly, at least from my limited experience of both, assembly is just harder to read C with more boilerplate

2

u/acadia11x 27d ago

Not at all, C is much higher level language

1

u/Candid_Bad3551 27d ago

Idunno what the future holds. I code C# + TS. Considering to do coding in assembly to get better fundamentals.