Skip to content

Bob: Add fifth rule #1025

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

Merged
merged 4 commits into from
Dec 4, 2017
Merged

Bob: Add fifth rule #1025

merged 4 commits into from
Dec 4, 2017

Conversation

rpottsoh
Copy link
Member

@rpottsoh rpottsoh commented Dec 2, 2017

closes #943

This first commit adds a description for an emphatic question. The second commit will update the forceful question case with the new response I am proposing in the description.

Add a new response to forcefully asked question.
@rpottsoh rpottsoh requested review from petertseng and Insti December 2, 2017 20:30
@rpottsoh rpottsoh self-assigned this Dec 2, 2017
@@ -4,6 +4,8 @@ Bob answers 'Sure.' if you ask him a question.

He answers 'Whoa, chill out!' if you yell at him.

He answers 'Calm down, I know what I'm doing!' if you question him emphaticlly.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spelling issue on this line.

Also a bit worried about complex language use here, since there are many non-english speakers.

Copy link
Member Author

@rpottsoh rpottsoh Dec 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I see the spelling issue now. I chose emphatically because it helped to keep the line short too.

...if you yell a question at him.

should suffice.

@Insti
Copy link
Contributor

Insti commented Dec 2, 2017

I like adding a new specific non-ambiguous response for this case. 👍

Remember to bump the version number.

(sorry, missclicked close button)

@Insti Insti closed this Dec 2, 2017
@Insti Insti reopened this Dec 2, 2017
@petertseng petertseng removed their request for review December 2, 2017 23:21
@rpottsoh
Copy link
Member Author

rpottsoh commented Dec 3, 2017

bump the version number.

1.1.0 you think?

Removed misspelling and ended up rewodring the sentence to simplify sentence meaning.
@rpottsoh rpottsoh changed the title Bob: Add emphatic question Bob: Add fifth rule Dec 3, 2017
decided to go ahead and bump to 1.1.0 after reviewing versioning criteria laid out in the repo README.
@rpottsoh rpottsoh merged commit fef09f6 into master Dec 4, 2017
@rpottsoh rpottsoh deleted the updateBob branch December 4, 2017 01:21
petertseng added a commit to exercism/haskell that referenced this pull request Dec 17, 2017
Closes exercism/problem-specifications#943.

It was possible for a message directed to Bob to be both a question and
yelling, which meant it was unclear which rule should take effect.
Resolve ambiguity by simply adding a rule for that case.

exercism/problem-specifications#1025
This was referenced Feb 4, 2018
sshine added a commit to exercism/sml that referenced this pull request Oct 9, 2018
This includes:
 - 1.0.0 -> 1.1.0: "Calm down, I know what I'm doing!" in [1].
 - 1.1.0 -> 1.2.0: No-op in [2]
 - 1.2.0 -> 1.2.1: "no letters" in [3].
 - 1.2.1 -> 1.3.0: "I HATE THE DMV" in [4].
 - 1.3.0 -> 1.4.0: Grammatical error in testdata in [5].

[1]: exercism/problem-specifications#1025
[2]: exercism/problem-specifications#1056
[3]: exercism/problem-specifications#1282
[4]: exercism/problem-specifications#1293
[5]: exercism/problem-specifications#1319
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.

bob: Precedence of the four rules
2 participants