Live data from Hacker News

LearnCPP: Website devoted to teaching you how to program in C++

learncpp.com

111–120 of 145 posts

Re: LearnCPP: Website devoted to teaching you how to program in C++

#111

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…

[deleted]

Re: LearnCPP: Website devoted to teaching you how to program in C++

#112
post #111

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…

[deleted]

[deleted]

Re: LearnCPP: Website devoted to teaching you how to program in C++

#115

As 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…

[deleted]

Re: LearnCPP: Website devoted to teaching you how to program in C++

#117
post #113

As 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.

[deleted]

[deleted]

Re: LearnCPP: Website devoted to teaching you how to program in C++

#118

As 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…

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.

Re: LearnCPP: Website devoted to teaching you how to program in C++

#120

As 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.

Most Rust stuff is just rewrites, crypto or some specific tool that some corporation or start-up needs.

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.

Post reply on HN