Skip to content

Conversation

@elszczepano
Copy link
Contributor

The problem is described in #1. Closes #1.

Remove redundant variable and spreading to this variable.
@piecioshka piecioshka changed the title Simplify find function. Simplify find function May 25, 2019
@piecioshka
Copy link
Owner

I just resolve #3 and merge #4. Can you update your branch and push?

@elszczepano
Copy link
Contributor Author

Branch updated. I've also fixed the case when there's no result.

@elszczepano
Copy link
Contributor Author

@piecioshka can you accept the pull request and merge it? Are there any other issues related to my PR to resolve?

@piecioshka
Copy link
Owner

@elszczepano Maybe you can reduce create result variable by returning previous line?

@elszczepano
Copy link
Contributor Author

@piecioshka done. 👍

@piecioshka
Copy link
Owner

Thanks @elszczepano

@piecioshka piecioshka merged commit 983a9b6 into piecioshka:master Jul 8, 2019
@piecioshka piecioshka added the enhancement New feature or request label Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redundant complexity of find function

2 participants