6 ms·
I'm actually in the process of learning Ruby right now. I'm curious though. From the perspective of someone who has hasn't been programming for a long time, wou
by ThoroughlyR 14y ago
I'm actually in the process of learning Ruby right now. I'm curious though. From the perspective of someone who has hasn't been programming for a long time, would you consider it a good idea to learn Ruby before learning Rails? I'm waiting on my copy of The Well-Grounded Rubyist to arrive so I can get started.
- jlees 14y agoCheck out http://tryruby.org/ http://tryruby.org/ while you wait. I just ran through it again last night and it's so beautifully crafted I want to weep. I learnt Ruby kind-of-alongside Rails and wish I'd spent more time focusing on the language itself; I'm going back and deepening my knowledge of it now. But it depends on how your mind works, whether you want to get a Rails project going yesterday, what knowledge you have locked away somewhere, and so on.
- kbeegle 14y agoAbsolutely. I'm a non-programmer that had been working on picking up Rails a number of times without a good background in Ruby. Each time I'd run into one issue or another and not have enough knowledge to push past it. I've put in a bit of time in Ruby and it's opened up Rails (and programming in general) for me more than I thought it would. The biggest advantage, besides just general programming, is reading other people's code and documentation. Recently, I've been exploring i18n (internationalization) in Rails. By going into time_ago_in_words helper, I was led to the distance_of_time_in_words helper and it's source code (https://github.com/rails/rails/blob/bd8a9701c27b4261e9d8dd84aebbde6ba784ed83/actionpack/lib/action_view/helpers/date_helper.rb#L67 https://github.com/rails/rails/blob/bd8a9701c27b4261e9d8dd84...). By understanding enough ruby, the Rails code became a wonderful source of documentation.