Skip to content

collatz-conjecture: add start implementation. - #1021

Merged
FridaTveit merged 2 commits into
exercism:masterfrom
sjwarner:collatz-starter
Nov 23, 2017
Merged

FridaTveit merged 2 commits into
exercism:masterfrom
sjwarner:collatz-starter

Conversation

@sjwarner-bp

Copy link
Copy Markdown
Contributor

Fixes #990


Reviewer Resources:

Track Policies

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good! :) I've added a minor comment but feel free to disagree with me :)

@@ -0,0 +1,7 @@
class CollatzCalculator {

int computeStepCount(final int start) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I would remove the final keyword here. It's fine to keep it in the reference solution but I think it might be a bit confusing to people who are new to Java :) What do you think?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That makes sense to me - I'll get it done when I'm back at my computer!

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great! Thanks @sjwarner-bp :)

@FridaTveit
FridaTveit merged commit 8430996 into exercism:master Nov 23, 2017
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.

3 participants