Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Perform major refactor of rule description, identifiers and examples #185

Merged
merged 2 commits into from
Nov 4, 2015

Conversation

jpsim
Copy link
Collaborator

@jpsim jpsim commented Nov 4, 2015

Fixes #183. This deduplicates a lot of information and drastically helps with readability & rule maintenance IMO.

Do you have any thoughts on this @keith? One thing I'm not convinced about is the fact that Rule.description is a static method, but my rationale there is to avoid needing an instance of the type when you just need its description.

@keith
Copy link
Collaborator

keith commented Nov 4, 2015

I think it makes sense to be static, even though it makes the caller's syntax a little less nice.

@jpsim
Copy link
Collaborator Author

jpsim commented Nov 4, 2015

Cool, any other feedback?

@keith
Copy link
Collaborator

keith commented Nov 4, 2015

Nope, code looks good to me!

Keith Smiley

On 11/04, JP Simard wrote:

Cool, any other feedback?


Reply to this email directly or view it on GitHub:
#185 (comment)

jpsim added a commit that referenced this pull request Nov 4, 2015
Perform major refactor of rule description, identifiers and examples
@jpsim jpsim merged commit b3624c4 into master Nov 4, 2015
@jpsim jpsim deleted the jp-rule-description branch November 4, 2015 21:08
@jpsim jpsim mentioned this pull request Nov 18, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants