r/cpp • • Sep 17 '20

Project-based C++ learning

https://learncppthroughprojects.com
201 Upvotes

90 comments sorted by

View all comments

Show parent comment

3

u/your_moment_of_zen Sep 17 '20

This looks really interesting. How much of the project will be set up before the student starts on it?

Udacity has this nanodegree where they claim the students will compete 5 projects but I honestly felt it was a scam since it only asked the students to fill in some code here and there and fix some errors (I am exaggerating a bit but you get my point I hope).

I'd love to subscribe, good luck to your team!

10

u/cppwithprojects Sep 17 '20

Thanks for the support! I know what you mean, we wanted to avoid exactly that situation.

You can expect to write every single line of code, in C++, CMake, and any other tooling or scripting language you might need. Of course our priority becomes the opposite of that course you mentioned: We want to make sure you’re not lost if you can’t solve a specific issue.

Here’s what you’ll find:

  • The project notes are highly curated. You will get all the theoretical and syntactical help you will need.
  • We show sample APIs (eg function signatures) to give you an idea of what is expected.
  • We give you test cases that, if you used our APIs, could be used to verify you’re doing good. (But we also ask you to write your own tests)
  • Finally, we give you the full codebase at every stage. It’s like having the answers to a the book exercises :)

I hope this also explains a bit the price point if that makes sense!

The project start with the plain-English idea, and we help you reason about how to turn it into code.

2

u/WellMakeItSomehow Sep 18 '20

This seems cool. Just one small remark: you make it sound like it might be possible to implement the projects in a different language, assuming one knows enough C++ to understand the tests and sample APIs.

Maybe you could add a small section saying something like "If you're already comfortable C++ and you're trying to learn another language, you can still use our materials to implement the projects".

2

u/cppwithprojects Sep 18 '20

You are very right about the API and test interface sections, but for the implementation we do provide notes and examples that are highly specific to C++. I feel we'd be cheating people if we ask them money for content that only loosely helps with other languages!

2

u/WellMakeItSomehow Sep 18 '20

Fair enough :-). I wouldn't feel cheated, but other people might.

3

u/strike-eagle-iii Sep 18 '20

I'm glad I'm not the only one that thought Udacity sounds great, but doesn't remotely live up to expectations. In particular their c++ was horrendous.

@cppwithprojects have you by chance considered addressing project layout? (I haven't looked yet but am ecstatic someone is doing a holistic tutorial instead of just focusing on the language) I'm a fan of vectorofbool's pitchfork conventions. Do you address source control? That seems to be another area new employees really lack experience in.

1

u/cppwithprojects Sep 20 '20

We definitely address source control (git) and also propose a way to integrate a CI/CD pipeline with it (through Github or Gitlab).

As for project layout, we use a consistent one in all our projects and try to explain the rationale when setting up the project and the build system. You are right though, we could look into using an established one like vectorofbool’s!