Skip to content

Conversation

AlessandroMinoccheri
Copy link
Contributor

No description provided.

@holorhythms holorhythms merged commit 24651e2 into aws:master Oct 26, 2018
@ossinkine
Copy link

What is the point of removing the condition?

@AlessandroMinoccheri
Copy link
Contributor Author

@ossinkine The point is to clean the code and avoid using else condition when is not necessary IMO

@ossinkine
Copy link

Single return statement is also better than two ones.
So it looks like we've replaced one good practice with another one. ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants