Skip to content

triangle: Added parameters to exercise placeholder - #761

Merged
ilya-khadykin merged 1 commit into
exercism:masterfrom
rozuur:triangle-params
Oct 8, 2017
Merged

triangle: Added parameters to exercise placeholder#761
ilya-khadykin merged 1 commit into
exercism:masterfrom
rozuur:triangle-params

Conversation

@rozuur

Copy link
Copy Markdown
Contributor

fixes#647

@ilya-khadykinilya-khadykin changed the title Added parameters to triangletriangle: Added parameters to exercise placeholderOct 7, 2017
Comment threadexercises/triangle/triangle.py Outdated

class Triangle(object):
def __init__(self):
def __init__(self, x, y, z):

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.

Honestly, I don't like single character names. Could you change them to something more meaningful

A good Python style guide from Google - https://google.github.io/styleguide/pyguide.html?showone=Naming#Naming

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

what do you propose? I have two suggestions, edge_1, edge_2, edge_3 or side_a, side_b, side_c

@ilya-khadykinilya-khadykin 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.

Thanks for the PR!

Please take a look at my comment

@ilya-khadykinilya-khadykin 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.

👍

@ilya-khadykin
ilya-khadykin merged commit 2faa00c into exercism:masterOct 8, 2017
@ilya-khadykin

Copy link
Copy Markdown
Contributor

@rozuur thanks for your PR

Just for future reference a guide of how to write good commit messages - https://chris.beams.io/posts/git-commit/#seven-rules

@rozuur

Copy link
Copy Markdown
ContributorAuthor

Thanks @M-a-Ge

Sign up for freeto 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.

triangle: add parameters to exercise placeholder

2 participants

@rozuur@ilya-khadykin