Open djc opened 10 years ago
Merged with master, please consider (use git diff -w
to check that nothing substantially changes).
Hey @alex, any more feedback?
@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.
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.