4 ms·
People grow by challenging themselves and this certainly applies to programming. One can’t use training wheels and expect to become skilled at system programmin
by blub 4y ago
People grow by challenging themselves and this certainly applies to programming. One can’t use training wheels and expect to become skilled at system programming.
I learned C++ as an absolute beginner in school back when most memory debugging tools didn’t even exist. Undefined behavior was just another bug that one learned to fix and most of the time it was nothing more exciting than a crash. Being disciplined avoided the problem in the first place…
People really have a tendency to dramatize C++. Yes, memory errors are a significant problem for people writing operating systems or browsers that get attacked all the time. For a beginner C++ can be much more fun and instructive than any so-called safe alternative.
- yeputons 4y agoAbsolutely, but it's much easier to understand arrays, strings, functions, loops and structs as high-level concepts first, and continue to manual memory management and UB only afterwards, rather than trying to do everything at the same time. C++ is fun for sure, it was (and is) fun for me, but it's a very specific kind of fun.