-
-
Notifications
You must be signed in to change notification settings - Fork 195
Parsing vs. algorithms? #547
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
Comments
For this case, and for all other cases where the problem description is unclear, that should be reported to x-common since the description is https://github.com/exercism/x-common/blob/master/exercises/word-count/description.md and the test cases we use are https://github.com/exercism/x-common/blob/master/exercises/word-count/canonical-data.json if the file exists. For example, some cases were added in exercism/problem-specifications#403. A proposal to remove them in exercism/problem-specifications#726 received insufficient support. And for this case in particular: I agree, there pretty much is no description. I expect a lot out of the README, especially the requirements. |
Thanks again. Don't forget to open the issue in x-common. |
Hi all. I opened Issue #541 last week suggesting that the
Matrix
exercise would be better without the string tests. The eventual decision was to remove the tests.Having just encountered similarish issues with 'Word Count', I'm trying to understand what the philosophy is here. Reading the problem, it sounds like a fun little problem that is basically about building a function that turns a list into an association list of counts: [a] -> [(a, Int)]. Having written the initial code, I spent the majority of my time figuring out how to parse strings to give the desired answers. This experience has been repeated across quite a few problems:
Is this all intentional or just sloppy? I'm finding that I'm spending most of my time on a bunch of these problems dealing with parsing issues which weren't part of the problem description. Thoughts?
The text was updated successfully, but these errors were encountered: