3 ms·
> backup-db.sh Just a small nitpick. I’d like it if we collectively moved away from including file extensions for scripts. You never know when you want to rewr
by ed25519FUUU 6y ago
> backup-db.sh
Just a small nitpick. I’d like it if we collectively moved away from including file extensions for scripts. You never know when you want to rewrite it in python or do something else. Nothing more confusing than opening up “backup.sh” only to find it’s actually a ruby script and must be executed.
- dvdgsng 6y agoWe usually end up with implementing the same scripts in shell, cmd and Powerhell, since some Windows folks prefer not to install cygwin or use wsl. Its a PITA to maintain, but doable if the scripts are simple and only check for requirements and the actual work is done by python, groovy, go, whatever.
- thefifthsetpin 6y agoI handle that by linking src/backup.sh as bin/backup Then if I rewrite it as src/backup.py I just change the bin/backup link to point there instead.