I wish there was a good place to learn “the other parts” of C++, the build systems, using static analyzers, testing, dependency management, etc. I’m thinking something like MIT’s “missing semester” course which teaches the boots on the ground part of software like how to use Git. https://missing.csail.mit.edu/ Maybe these resources exist for C++ and I just never found them. I think a lot of “modern” languages get thi…
LearnCPP: Website devoted to teaching you how to program in C++
111–120 of 145 posts
Re: LearnCPP: Website devoted to teaching you how to program in C++
#112I wish there was a good place to learn “the other parts” of C++, the build systems, using static analyzers, testing, dependency management, etc. I’m thinking something like MIT’s “missing semester” course which teaches the boots on the ground part of software like how to use Git. https://missing.csail.mit.edu/ Maybe these resources exist for C++ and I just never found them. I think a lot of “modern” languages get thi…
[deleted]
Re: LearnCPP: Website devoted to teaching you how to program in C++
#113As a newbie into programming, I get pulled all the time by people to learn my first compiled language either in C++ or Rust. Every time I ask even the most innocent question in any forum it becomes a shitshow, and I can see, I'm late to the party here in HN.
Re: LearnCPP: Website devoted to teaching you how to program in C++
#114Better learn chatGPT
Re: LearnCPP: Website devoted to teaching you how to program in C++
#115As a Java dev who learned C++ at university the hate towards C++ is misplaced. C++ is a no thrills language which lets you have freedom but freedom to also shoot yourself in the foot 100+n ways, but this gives you a good foundation as a developer IMHO. Every time I think about garbage collection in Java, I can appreciate that I am not having to write code to destruct an object or worry about passing references incorr…
Re: LearnCPP: Website devoted to teaching you how to program in C++
#116The cookie popup is truly annoying though. There's no way that this website is in any form of compliance with GDPR...
Re: LearnCPP: Website devoted to teaching you how to program in C++
#117Re: LearnCPP: Website devoted to teaching you how to program in C++
#118As a newbie into programming, I get pulled all the time by people to learn my first compiled language either in C++ or Rust. Every time I ask even the most innocent question in any forum it becomes a shitshow, and I can see, I'm late to the party here in HN.
Please do not start with either C++ or C. They are horrible, horrible languages to learn as a beginner. Not because of bad tooling, incompatible compilers, tons of features, or even manual memory management and pointers, no. Two words: undefined behavior. In other languages, if you do a mistake, something fails around the place where you did it, or at least afterwards, or at least you can reason why the failure is ex…
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.
Re: LearnCPP: Website devoted to teaching you how to program in C++
#119Re: LearnCPP: Website devoted to teaching you how to program in C++
#120As a newbie into programming, I get pulled all the time by people to learn my first compiled language either in C++ or Rust. Every time I ask even the most innocent question in any forum it becomes a shitshow, and I can see, I'm late to the party here in HN.
C++ is one of those languages that people write anything and everything in. Whatever you need, whatever you’re curious about, it’s likely out there.
As for what it feels like, if you want safe but boring, go with Rust. If you want exciting go with C++.
Personally I’d never start with Rust, it’s like biking everywhere with training wheels.