Ruby and Ruby on Rails Course

I intend to develop an induction plan, or you can say that the course crash program for developers is starting to learn Ruby and Ruby on rails. I am not sure about the number of topics to cover (and the depth of coverage), as this is a 3-day course (24 to 27 hours). In addition, beginners typically compare ruby ​​with existing object-oriented programming veterans such as C ++, Java, or C #. But since Ruby is quite different (lack of abstract classes, interfaces, virtual keywords, etc. And the presence of concepts such as modules, mixins, etc.), How should a course be developed so that beginners begin to "think" in ruby? Because, I believe that as soon as they begin to do this, those who are experienced in C ++, Java or C # can quickly pick it up.

Can I get some advice, or perhaps an essay on the ruby ​​/ rails course, which you could already use with experienced ruby ​​/ rail instructors?

The goal is to make beginners, application developers for the production of rubies / rails, as soon as possible.

If necessary, the course can be increased up to 5 days (from 40 to 45 hours).

+3
source share
3 answers

I like to show people code to illustrate the differences. How about starting with a simple loop:

10 times | x | ...

By showing that even a fixed number is an object, should wake them up.

, :

class Fixnum
    attr_accessor :foo
end

>> 10.foo = "bar"
=> "bar"

Ruby : http://www.ruby-lang.org/en/documentation/quickstart/

+3

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


All Articles