From: Brian Candler Date: 2012-09-12T05:12:10+09:00 Subject: Re: About choosing Ruby? Bartosz DziewoƄski wrote in post #1075516: > The languages are quite similar. You really should just use the one > that seems nicer to you :) > > Here's a comparison: > http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/to-ruby-from-python/ > > I'd add to it: > * Python is slightly less flexible, but slightly faster > * Python usually uses list comprehensions (google it) instead of > higher-order functions like select or map (google these, too) And I'd add: * Ruby has a much clearer class model, and cleaner separation of methods and instance variables * Python(3) has a much more sane approach to strings and encoded representations of strings than ruby(1.9) However if you really have to ask the question "which one should I learn to get a job?", then you're not really starting at the right point IMO. To make yourself attractive to an employer, you should get experience writing real projects in multiple languages. In this process you'll not only find out what you enjoy, but you will fill in a lot of gaps in your knowledge by looking at problems from different angles. You will have a clearer idea what sort of job you are looking for, and your prospective employer can be impressed both that you enjoy working in a particular language, and that you can explain the differences between this one and others you have worked with. Regards, Brian -- Posted via http://www.ruby-forum.com/.