3 ms·
Is this website any good? It's heavily pushed by some C++ subreddits. I don't even know what I would recommend to a newbie. I learned C 25 years ago, and dabbl
by bluedino 4y ago
Is this website any good? It's heavily pushed by some C++ subreddits.
I don't even know what I would recommend to a newbie. I learned C 25 years ago, and dabbled in C++ 2 or 3 times since then.
Bjarne's books might be great, but they aren't for anyone new to C++ and especially not anyone new to programming in general. C++ For Dummies/21 Days style books are just bad. And there are more bad websites than I can count.
- tejohnso 4y ago> Bjarne's books might be great, but they aren't for anyone new to C++ and especially not anyone new to programming in general. I disagree. Not sure why PPP[1] wouldn't fit the bill. It's specifically geared to people who haven't programmed before. 1: https://stroustrup.com/programming.html https://stroustrup.com/programming.html
- bluedino 4y agoOne example is that he uses a header file called "std_lib_facilities". So right out of the gate it confuses people, it's not actually shown until a little later in the book, there's tons of questions on C++ forums and StackOverflow where people get stuck on it. It's just not a clear, step-by-step introduction.
- yeputons 4y agoAlthough I find the order of topics questionable, at least they talk about undefined behavior instead of saying blatantly wrong outdated stuff like "a read out of array range will just result in some garbage value being read". I've read some random pages and nothing stood out as blatantly wrong, which is already a high bar for a C++ course. C++ is awful for beginners exactly because of undefined behavior, no good book can fix that, IMHO. As for topics covered, talking in details about linkage, functions, constexpr, bit manipulation before if/for statements is, uhm, questionable, if this is aimed at beginners. Then the site talks about type conversions, function overloading, structs, and arrays only appear somewhere in the middle. Moreover, much simpler std::vector is introduced _after_ C-style arrays. Wild ride for a reader, but one can argue such order is more "academic", whatever that means.
- sicp-enjoyer 4y agoI learned from this website. I would recommend it to people who already know how to program another language.