3 ms·
I agree with you. I currently have a similar process where I jot down the steps in README.md or INSTRUCTIONS.md files. The script is a bit better in that it for
by snthpy 5y ago
I agree with you. I currently have a similar process where I jot down the steps in README.md or INSTRUCTIONS.md files. The script is a bit better in that it forces you to do the steps in order and you're less likely to skip a step by accident.
However if I'm going to start creating scripts like this then I think all the OO/Class boilerplate overhead would make me reluctant to do it. For me using functions with docstrings keeps more of the simplicity of the markdown approach while still allowing for gradual automation.
Here's a simple example:
https://gist.github.com/snth/c5c5a1236dd8ddf91973aed77d66cd9a https://gist.github.com/snth/c5c5a1236dd8ddf91973aed77d66cd9...