Hacker News new | ask | show | jobs
by lightbulbjim 1517 days ago
Ruby makes for a good “super shell” script too.
2 comments

And if you're conflicted between thinking both this and "but go is nice and static and free of runtime", you can look at https://crystal-lang.org/ Ruby syntax with static compilation for your tools.
Definitly. I've been replacing some of my more janky & complex bash scripts with ruby and it becomes a lot cleaner imo. Also, I recently 'discovered' Pathname, it takes away a lot of the pain of dealing with files and directories in ruby and allows for pretty clean code imo.