Closed MillironX closed 2 years ago
Make all the code within the pipeline conform to the style guide at https://gist.github.com/MillironX/bd9606623b3ccfdfb72d77e2bd3dc213.
Nextflow doesn't really have a style guide, and nf-core lint enforces rules about everything but code formatting. Coding style is important for readability and maintainability. See more at https://www.smashingmagazine.com/2012/10/why-coding-style-matters/.
Right now the style is pretty inconsistent. We could stick with that, but why bother.
I wrote a rudimentary style guide at https://gist.github.com/MillironX/bd9606623b3ccfdfb72d77e2bd3dc213. I propose we follow it.
Summary
Make all the code within the pipeline conform to the style guide at https://gist.github.com/MillironX/bd9606623b3ccfdfb72d77e2bd3dc213.
More Info
Context
Nextflow doesn't really have a style guide, and nf-core lint enforces rules about everything but code formatting. Coding style is important for readability and maintainability. See more at https://www.smashingmagazine.com/2012/10/why-coding-style-matters/.
Alternatives
Right now the style is pretty inconsistent. We could stick with that, but why bother.
Possible implementation
I wrote a rudimentary style guide at https://gist.github.com/MillironX/bd9606623b3ccfdfb72d77e2bd3dc213. I propose we follow it.