8000 Expect case normalized words by wobh · Pull Request #207 · exercism/python · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@wobh
Copy link
Contributor
@wobh wobh commented Sep 18, 2015

Ruby, Elixir, Clojure, and others expect words to be normalized in
some way so that "Go", "go", "GO" are not considered different words.

Ruby, Elixir, Clojure, and others expect words to be normalized in
some way so that "Go", "go", "GO" are not considered different words.
@wobh wobh force-pushed the normalize-word-counts branch from 0618c26 to 0314cbf Compare September 18, 2015 08:28
@wobh
Copy link
Contributor Author
wobh commented Sep 18, 2015

Other language tracks I've seen actually expect downcased words. Here I've tried to make a test that would expect the right count, but be indifferent to the method of normalizing.

@kytrinyx
Copy link
Member

Here I've tried to make a test that would expect the right count, but be indifferent to the method of normalizing.

I like that it leaves the choice up to the implementer as to how to do normalization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0