Open simpzan opened 9 years ago
Hello @simpzan,
Thank you for your message. It's great you want to contribute and any help would be welcome.
About nesting code style, it adds a lot of readability by adding meaningful blocks. So we won't change it. The only things that could be used to simplifiy is the return callback(err);
at the beginning of each callback functions.
I like the idea of the project, and wanna join to make a little contribution. before that, I need to understand the code, so I start to read the code. I found that the coding style of deeply nested if statement is kinda hard to read. I think early exit is much more readable. Would you consider to make a switch of the style? https://en.wikibooks.org/wiki/Computer_Programming/Coding_Style/Minimize_nesting