Re:Testing Bash with BATS
by chubot on Thursday February 21, 2019 @11:57PM
(#19223252)
Also, I looked at the buildpacks-ci repo you linked, and it still has ~2000 lines of shell in ~80 files.
For comparison, there's ~12,500 lines of Ruby.
Another issue I have is that if Kubernetes replaces its 44,000 lines of shell with 100,000 lines of Go (or probably more), that's a mixed result at best. There's just a lot of logic to express and shell does it concisely.
Of course, without a better shell, I don't blame them if they switch, but it's still a suboptimal state of affairs.
For comparison, there's ~12,500 lines of Ruby.
Another issue I have is that if Kubernetes replaces its 44,000 lines of shell with 100,000 lines of Go (or probably more), that's a mixed result at best. There's just a lot of logic to express and shell does it concisely.
Of course, without a better shell, I don't blame them if they switch, but it's still a suboptimal state of affairs.