-
-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wip-Implement_new_Concept_Exercise-basics_379 #563
Wip-Implement_new_Concept_Exercise-basics_379 #563
Conversation
Hello. Thanks for opening a PR on Exercism. We are currently in a phase of our journey where we have paused community contributions to allow us to take a breather and redesign our community model. You can learn more in this blog post. As such, all issues and PRs in this repository are being automatically closed. That doesn't mean we're not interested in your ideas, or that if you're stuck on something we don't want to help. The best place to discuss things is with our community on the Exercism Community Forum. You can use this link to copy this into a new topic there. Note: If this PR has been pre-approved, please link back to this PR on the forum thread and a maintainer or staff member will reopen it. |
about.mdThis document is a wild mix of things. It's mostly about methods, but also mentions variables, values, classes, namespaces, file organization, and comments. I can't see how some "concept" is introduced and explained. As a beginner this text would rather confuse me, I don't think I would learn anything from it. This is mostly about methods, right? ("We are focusing on on methods ...") The first section is titled "variables and values" but then talks about parameters and the initialization of variables, there's nothing about values. The third section is titled "Methods" but instead of explaining what a method is, or how it's different from a free function, it starts with the detail that it can be called without a "prefix" (a term not previously introduced). The fourth paragraph is titled "A word on classes". The sixth paragraph is about "Invoking methods" but then uses the terms "function" and "class method". That's a little bit confusing. And a few mixed notes:
instructions.mdThis document doesn't look bad. I'm just not sure why we would want to use methods (a.k.a. member functions) for those tasks. There's no state, these should rather be free functions instead. There's a stray backtick in the code snippets for the 3rd and 4th task. Is the "spend" in the heading of the 4th task correct, shouldn't it be "spent"? (non-native English speaker here) hints.mdDoesn't look bad either. But wouldn't it make sense to introduce something like And again, "spend" vs. "spent" (strangely there is a "spent" in the final paragraph.) design.mdThis document talks about many objectives that were never explained in text or required by the concept exercise. Overall this is a mixed bag. The concept exercise is quite OK although I would strongly prefer not to use member functions for these tasks. But I find the the text ( The only free tutorial on C++ that is widely recommended in the C++ community is LearnCpp.com. In my opinion we should align our concepts to that because it manages to provide some sort of "path", and we can reference it. |
Thank you for the time to review my suggestions. I think you are completely correct @siebenschlaefer. I would rather have functions (returns, invoking) and values (initialization and some algebra) in one exercise and add classes later. LearnCpp.com has similar goals, so I think it is a good guideline for teaching cpp, but I do not want to blatantly copy their work. |
I wasn't sure how much I should deviate from the structure so I left it in. I was wondering how the header is displayed to the user on the website. Is it possible to not show the header? Some solutions have inlined function definitions in the header, but that should not be the first thing a new learner should be confronted with, right? I uploaded .h and .cpp files without the class, would that be possible, or should I skip the header file completely? HelloWorld does not and is even more "basic". |
First raw draft for a new exercise to start the basic concept