Skip to content
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

simple refactoring #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

simple refactoring #1

wants to merge 1 commit into from

Conversation

SGjunior
Copy link

@SGjunior SGjunior commented May 9, 2018

Hi, I was looking for the solution to a similar exercise and I found your code.
I thought I could contribute a bit.

It's basically easier to read the validation, but I do not know if converting to string and then matching is actually slower then your previous validation.

let me know what you think!

and thanks for contribution :)

(also the extra lines are just sublime text adding empty lines at end of file whenever you save a file )

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.

1 participant