3 ms·
I’m increasingly fed up with all shell scripts. Sure shell scripts are great when they’re small. Except then they become not small. But they don’t get rewritte
by forrestthewoods 3y ago
I’m increasingly fed up with all shell scripts.
Sure shell scripts are great when they’re small. Except then they become not small. But they don’t get rewritten.
Piping strings of instructed text between programs is an error prone nightmare.
I want full debugger support, strong typing, cross platform support, and libraries not programs.
Python isn’t my favorite language. But I’ll take a debugable Python script over bash hell 100% of the time.
- 8n4vidtmkvmk 3y agoThat's part of the beauty of bun though. You can write it in typescript instead and run it directly with bun. And now with this you can weave in a call to a binary very easily if you need
- mike_hearn 3y agoTake a look at my comment above about hshell. It has all those things you ask for. Feedback would be useful! The problem with this space is incentives. HShell exists because it was easy to build given the structure of our main product, and I wanted it for our own internal use. But making it a stable long term product on which anyone can rely requires signing up for long term maintenance, and nobody pays for shells (or do they?). So it's got to be a labor of love.
- shzhdbi09gv8ioi 3y agoI been using golang lately to replace shells. Pros: * LSP * faster compile times than the node startup time * cross-platform * strong types * great std + many libs available * not bash script * fits easily in CI Cons: * not bash script :-)