|
|
|
|
|
by junon
1512 days ago
|
|
C++20 is going to be much friendlier. If you're new to C-like languages though, perhaps start with C and work up to C++. The foundations are important to understand, and you'll appreciate why RAII is important. EDIT: Ah yes, the "crawww C is unsafe, use rust crawww!" downvote crowd is out in full force today. |
|
Unlearning bad C habits is hard because the language accommodates them for as long as you continue to cling to them. You need to consciously decide you will use the new, better way. Once you have done each once, there will be no temptation to backslide.