-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
Gigasecond problem is confusing #1564
Comments
I agree the instructions should mention that the input and output is a As for the other points you mentioned, please don't confuse practice and learning exercises. Practice exercises are deliberately a bit more about figuring out what to do yourself. Researching for a while what helpers to use etc. is also totally normally for solving a practice exercise. Those things you researched yourself are usually the ones you remember better than the things you just read in some introduction document. Practice exercises don't have hints because there are usually a lot of different ways to solve them so there is not one right answer the hints guide the student towards. If you are stuck with a practice exercise, submit it via the CLI and request mentoring for it. A mentor can then help you get un-stuck without giving away most of the solution like hints would probably do. Additionally, for practice exercises it is recommended to look into the test file. That would e.g. tell you what type the input and output has. That is why test files are not hidden on the website for practice exercises, only for learning exercises. As for the "table of example input and output", that is what the test cases provide for you. Practice exercises are meant to be solved TDD style. That means you would look at the output of the failed test to see what the correct output for a given input was supposed to be. Than you would make that specific test pass and look at the next failing test etc. We are currently working on adding a learning exercise for As for the minimal instructions of the exercise, once the information about the input and output was added, I don't see there is much more to say. It then would sum up to "Here is a date, give me a date back that is 1 Gigasecond later." To recap, this task needs to be done to solve this issue:
|
@junedev i would like to take this one, |
@asadrjhk Great, I assigned you to the issue. |
@junedev thanks, I'll submit the PR today, |
I spent a lot of time on the gigasecond problem in JavaScript (https://exercism.org/tracks/javascript/exercises/gigasecond), just trying to understand it. It mentions that the input is a number, but it is a string. It also doesn't have any of the hints that the learning track exercises have.
I can certainly understand scaffolding and removing the scaffold as a part of the learning process but the wording of the problem and the lack of hints or other information or even just examples of input and output made it very difficult to understand what was expected.
I'd like to suggest updating this problem at least in JS with the following:
The text was updated successfully, but these errors were encountered: