Hacker News new | ask | show | jobs
by alpaca128 1868 days ago
When I need to run something async in Bash I can just add a `&`. Done. The majority of my scripts are purely sequential, though, as the language lends itself well to sequential data processing/piping.

I'm not seeing a benefit by wrapping almost every single command in 'await $`...`'. I get why you'd want to wrap Bash in a different language, especially when handling numbers. But I'd rather use something like Python than this verbose trickery.

1 comments

I agree. My scripts are also rigidly sequential and verbose which is easier for me and other devs after me to have a simple mental model of what is going on at a glance. Which I think saves time in the long run because any dev can easily understand and make intelligent additions to make it better. For complex scripts, Python is the goto and isn't terribly difficult to grasp either.