Skip to content

added topics in bracket-push, simple-cipher, crpto-square and atbash-… - #902

Closed
anu0012 wants to merge 1 commit into
exercism:masterfrom
anu0012:master
Closed

anu0012 wants to merge 1 commit into
exercism:masterfrom
anu0012:master

Conversation

@anu0012

@anu0012 anu0012 commented Oct 9, 2017

Copy link
Copy Markdown
Contributor

…cipher

Fixes #899 #893 #892 #877


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.

This looks really good @anu0012 :) I've suggested a few more topics but feel free to disagree with me :)

A couple of suggestions for the future. Please only tackle one issue per PR. Doing several issues per PR makes it harder to review and it means additions that are good to go can be held up by changes needed elsewhere. For example, if you had made these separate PRs I would have been able to merge the topics for bracket-push and atbash-cipher straight away.

Also, it's a good idea to do your PR changes on a separate branch on your fork, not on your master branch. Any commit you now push on your master branch will appear in this PR which means it's easy to accidentally push unrelated things to your PR, and it's harder for you to keep doing other work while your PR is being reviewed.

Those are just minor things to bear in mind for the future. Thanks for taking the time to contribute :)

Comment thread config.json
"strings",
"cryptography",
"security",
"mathematics"

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 add randomness and exception_handling as well.

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.

Yes, exception_handling can be used also but at the same time, we can check the input manually without worrying about the exception. Actually, I didn't think in a language-specific way.

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.

Again the tests expect an exception to be thrown so you have to use exceptions. These are meant to be language specific topics for doing the exercises on the java track :)

Comment thread config.json
"text_formatting",
"mathematics",
"cryptography",
"security"

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 add lists as well

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.

I think it can be done without using lists also. Strings can be separated using Split() function also.

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.

No, the getPlaintextSegments() method needs to return a List in the tests so you have to use lists :)

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.

Alright. I'll add it. Thanks for the correction :)

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.

No problem :) Thanks for explaining your reasoning :)

@anu0012

anu0012 commented Oct 10, 2017

Copy link
Copy Markdown
Contributor Author

@FridaTveit Thanks a lot for your valuable suggestions. I'll definitely take care of those in future. Just one more thing should I make another PR for each issue separately?

@FridaTveit

Copy link
Copy Markdown
Contributor

If you make any more PRs to fix other issues then yes :) But for this one you can keep it as it is since I've already reviewed it and I can imagine it would be a bit of a pain for you to try and split it into four PRs now :) You could do if you wanted to though, I don't particularly mind :)

@anu0012

anu0012 commented Oct 10, 2017

Copy link
Copy Markdown
Contributor Author

@FridaTveit If possible you can merge this, I'll be more careful in my future PRs :)

@FridaTveit

Copy link
Copy Markdown
Contributor

Sure. But could you add the topics I suggested first? Or explain why you don't think they don't should be added :)

@FridaTveit

Copy link
Copy Markdown
Contributor

This has been fixed in PR #910.

@FridaTveit FridaTveit closed this Oct 11, 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.

2 participants