Learning Ruby - Version 1.8 or 1.9?

I've been learning Python for a while, but the projects I want to do are better suited for Ruby, for example, the SAC API for CSS is available in Ruby (both C and Java).

In any case, which version of Ruby should I study now, given that I will only create web applications.

Thanks for your comments and advice.

+4
source share
3 answers

(Just), because you plan to build web applications, Ruby 1.8.7 seems to be the most suitable version for the following reasons:

  • Rails ecosystem still has issue with Ruby 1.9
  • Ruby Enterprise Edition is based on Ruby 1.8.7, and it is a Ruby interpreter that you are likely to use in production if you are not using jRuby
  • jRuby is based on Ruby 1.8.7 if you plan to use it

However, you should always remember that Ruby 1.9 is the future. So avoid using obsolete Ruby 1.8.7 features, and you should definitely take a look at the Ruby 1.9 roadmap.

Avoid Ruby 1.8.6. The upcoming release of Rails (Rails 3) will not work with Ruby 1.8.6.

+3
source

Hands down, go to 1.9. There's not much there if you are a web developer just starting out with Ruby. And by the time you get to the point where the versions are important, everything will be 1.9.

+2
source

I think you can start with 1.9 its better. his near future

-2
source

Source: https://habr.com/ru/post/1298991/


All Articles