Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fixed duplicate code #222

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

Merged
merged 1 commit into from
Jul 12, 2017
Merged

Conversation

filipetedim
Copy link
Contributor

The proposed "good" way of coding was actually changing a property's name in the developers object.

While one can argue that in this case they could be the same, the point of the example was to show that you can still remove duplicated code that require different things.

The proposed "good" way of coding was actually changing a property's name in the developers object.

While one can argue that in this case they could be the same, the point of the example was to show that you can still remove duplicated code that require *different* things.
@ryanmcdermott ryanmcdermott merged commit 025f7f9 into ryanmcdermott:master Jul 12, 2017
@ryanmcdermott
Copy link
Owner

I like your version better than what was there, thank you for your contributions! πŸŽ‰

@filipetedim filipetedim deleted the patch-1 branch July 12, 2017 14:55
@filipetedim
Copy link
Contributor Author

Cheers!

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