Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should I use Ruby 1.9x or 2.0x? [closed]

I used to write some Python, and I know there are a lot of difference between Python 2.x and Python 3.x
Current now, I hope to use some Ruby to write a website (Maybe use Rails), but I am afraid that there will be the same problem in Ruby like Python.

Since I am a newcomer to Ruby, I just wonder what should I learn Ruby 1.x or Ruby 2.x?

like image 835
zproject89 Avatar asked Jan 21 '26 23:01

zproject89


1 Answers

You should use ruby 2.1.1. The difference between Python 2 and 3 is so great that there are major backward compatibility issues. As this is not the case with ruby 1.9 vs 2.X you better start with the most current technology.

like image 51
Alexander Popov Avatar answered Jan 24 '26 18:01

Alexander Popov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!