What sort of things do you code in Ruby? What sort of things does Ruby excel at, over other languages? -


I decided to know Ruby, and I wanted to ask what did Ruby do better than other languages , And today the situation of language in the industry, among other languages, is this a strong competitor? What is the target audience with the aim of web developers / GUI programmers / 10 line scripts? Please give me your opinion :)

Personally, I have 2 usage cases for Ruby :

Maintenance scripts There are a lot of work on my work, which I classify as "maintenance", these tasks manipulate data from Excel spreadsheets and SQL data To import data into database, to clean up a directory to complete files to create test data I do not want to make myself manually. Some of these scripts are quick 10 line scripts and some of them are expanded in small applications which I use most often.

There are some things that make Ruby very good for it:

  1. It's easy to start with a script, to organize tasks like tools , And I do not need to create a bunch of extra framework junk to get started.

  2. The library I know that other languages ​​are estimated to be better libraries, but so far Ruby's libraries meet my needs and without having to manually install and install RubyJames Easy to install a library.

  3. There are many features in Ruby that really make simple reading and processing

  4. There are several tasks that are repetitive and Domain lend themselves to create specific languages. Ruby has a very flexible syntax and it has some functional aspects that gives you a lot of flexibility in how to write your programs. Often, you can wrap normal functionality in a DSL that is suitable for your work.

The second thing I used to ruby ​​(to a lesser extent) is web development This is the framework I have used most, but I played a little with Merb before the announcement of merger with Ruby, along with Rail.

I like Ruby on Ruby for all reasons, just like I like Ruby. In fact, these are the features of Ruby, which make great ruby ​​on Ruby. Rails is a domain specific language that is written in Ruby which makes web development much more fun (in my opinion)

I think that many people think about Ruby like this , And the community still looks very active and vibrant. I think it is a great language to know that its use is being used for some time.


Comments