News for hackers. Stuff that matters.
Re:Show HN: Rb – Turns Ruby into a command line utility by DarkWiiPlayer on Tuesday August 14, 2018 @04:47AM (#17756339)
> The best tool for the job sometimes is the tool you know best.

That's like hammering in screws because you know your hammer and screwdrivers seem arcane to you.

For ad-hoc stuff `ruby -e` is more than enough, and if you want to write a program once and use it a lot, it's worth investing the time in doing it the way it works best, which in this case, would be a (fast) language like awk that makes it easier to process line-by-line instead of reading until EOF and making the rest of the pipeline wait.

There are no comments on this comment yet.