3 ms·
shell is loose and offers a lot of power per line, so it’s pretty easy to make a spaghetti nightmare. but it’s very possible to write nice shell. i dunno about
by j3s 4y ago
shell is loose and offers a lot of power per line, so it’s pretty easy to make a spaghetti nightmare. but it’s very possible to write nice shell.
i dunno about testing it, i feel like that’s getting pretty close to the barrier of shell’s utility
- jbverschoor 4y agoA program in any language can be maintainable when written properly and maintained by someone who is capable, diligent, and has a good test setup.
- oneshtein 4y agoBash is turing-complete, so it's possible to write automated test cases in bash. Example: https://github.com/vlisivka/bash-modules/blob/master/bash-modules/test/test_string.sh https://github.com/vlisivka/bash-modules/blob/master/bash-mo...