14 ms·
> I dont understand its popularity. I think the only reason people use the shell for scripting is that ls -lsa /tmp is simpler to write than execute
by amelius 6y ago
> I dont understand its popularity.
I think the only reason people use the shell for scripting is that
ls -lsa /tmp
is simpler to write than
execute(["ls", "-lsa", "/tmp"])
or even
execute("ls -lsa /tmp")
> Normally sane people who like unit testing, CICD, SOLID principles, quality tools end up with a bunch of crappy scripts holding everything together. Please avoid.
Totally agree!