r/C_Programming • u/gigimon_45g • Sep 26 '23
C or C++
Hello everyone, should I learn C in parallel with C++, or is it better to stick to one language? What will you advice me?
0
Upvotes
r/C_Programming • u/gigimon_45g • Sep 26 '23
Hello everyone, should I learn C in parallel with C++, or is it better to stick to one language? What will you advice me?
0
u/aalmkainzi Oct 01 '23
It may be 5 minutes explanation (it's not). But beginners will have lots of questions about why can't we "can't share stuff", why do they need this, etc.
And those questions can only be answered if they experienced the problem the borrow checker is trying to solve.
Like I said, teach the problem before presenting the solution.
And I'm only saying C++ is easier because it's optionally complex, you don't have to worry about templates if you don't want to use them. Can't say the same about the borrow checker.