3 ms·
Scripts using ksh/bash are not very maintainable. If it's something simple that just works and never need to change, it's a really good RAD tool. It's good for
by loopz 7y ago
Scripts using ksh/bash are not very maintainable. If it's something simple that just works and never need to change, it's a really good RAD tool. It's good for initiating jobs or do stuff in between.
Anything complex, will require looking up some arcane syntax, which the next person or you in 2 years, won't understand what actually does. So will you notice subtle bugs or be able to upgrade or fix the code? The result will be bitrot or adding complexity.
The nice things with shell scripts is how fast you can pipe something through UNIX, and it's really really powerful. But regard it as temporary or throw-away code, unless it's just meant to sit there doing the same job, with the same subtle bugs that you won't notice if it's anything more complex.