Get the latest tech news

Ruby: A great language for shell scripts


It’s more than rails!

Personally, I consider Ruby one of my favorite programming languages, and the last time I touched any Rails code was 7 years ago… Note: if you want to use system(e.g. if you want the output to be redirected to stdout instead of a string) or popen(if you want to read or write data from or to a subprocess), those are also available in Ruby! In fact, it is a object-oriented language, and it follow strictly the OOP paradigm (more than Python, in some aspects even more than Java!).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of ruby

ruby

Photo of shell scripts

shell scripts

Photo of great language

great language

Related news:

News photo

Ruby's Timeout is dangerous and Thread.raise is terrifying (2015)

News photo

Things to avoid in Ruby

News photo

"Namespace on Read" for Ruby, FAQ