3 ms·
Toy examples should not guide larger decisions. And even if that trivial script you describe is really what goes into production today, tomorrow someone will mo
by jzwinck 3y ago
Toy examples should not guide larger decisions. And even if that trivial script you describe is really what goes into production today, tomorrow someone will modify it and introduce a quoting bug or a poorly-done command line option facility or whatever.
- paulddraper 3y agoHuh? What makes this a plaything? Did you respond to the right comment?
- jzwinck 3y agoYou asked about: > a script that counts the number of lines in files versioned by git I'm saying that is not a realistic production program that most of us would need. If you want it as a personal utility to use in your own shell, absolutely you can use bash. I'm responding to the idea that such a trivial script would have long term use in production.
- deleted 3y ago[deleted]
- paulddraper 3y agoAh I didn't know the original comment was about "production"
- jenscow 3y agoTo mitigate that, recently there was something posted on HN that checks your shell script for those types of bugs. However, let's not produce any software at all, in case someone introduces a bug in it later.