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

Skip to content

Conversation

@djc
Copy link
Contributor

@djc djc commented Jun 8, 2014

I'm not sure why you wrote it this way, but adding a few empty lines, early continues and inverting conditions to handle simple cases first seems to me like it makes this code much more readable.

@djc
Copy link
Contributor Author

djc commented Dec 29, 2014

Merged with master, please consider (use git diff -w to check that nothing substantially changes).

@djc
Copy link
Contributor Author

djc commented Oct 6, 2015

Hey @alex, any more feedback?

@djc
Copy link
Contributor Author

djc commented Jul 23, 2018

@alex this still applies after 3 years and was also useful when I was adding some debugging to the parser generator code. Please consider for merging or just close it if you think it's not an improvement.

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