-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
list-ops: Update instructions append #710
base: main
Are you sure you want to change the base?
Conversation
tasxatzial
commented
Nov 24, 2024
•
edited
Loading
edited
- Standardize the first paragraph in the append file
- Update the wording in both goals
7dc2aa5
to
ddb3606
Compare
ddb3606
to
2fca475
Compare
Try to pass the tests by devising a solution that assumes: | ||
|
||
- both the input and output are lists instead of vectors | ||
- the test suite isn't modified |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The test suite is not modified is a standard of Exercism. Should we need to mention that here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid I don't have any other option. The tests are already using vectors as input, and in the first bullet, I ask to assume that they are using lists. Without the second bullet, some folks might be confused, while others might believe that the only way the first assumption can be true is by downloading the exercise and manually changing the tests to use lists, which is definitely not intended. Both bullets are necessary to clarify what I’m explaining in line 22:
These assumptions directly influence the types of the functions that can be used.
This is an optional and slightly more challenging goal. I'm explicitly mentioning more than I usually would to make it a bit clearer how they should approach it without going off on tangents. Still, it assumes a certain level of maturity from the reader, and it's meant only for those who want extra practice.
In any case, the reason I marked this as a draft is to let it sit here while I think about whether I can find an alternative way to phrase the optional goal, or even remove it altogether.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could state: as usual, the tests are not meant to be modified
, since it is a confirmation that this is not different than other exercises, in this regard.
Otherwise, if I saw this fairly soon after coming to Exercism, it would likely encourage me to change other exercise test files, which is also not intended.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds reasonable. I'll see how I can rephrase the assumptions. Thanks!