Recently, to learn new projects, you need to learn new languages to complete tasks. This language is Ruby that has been heard but never learned and practiced, the previous visual image is often used in comparison with python. Of course, it is a little later than python. It draws on some things of Python and implements some features not available in Python. There is no direct comparability, but I still think python is easy to use. [Python's purpose is: to do one thing well, there is only one way], and Ruby is a little learning from the Perl style [There are always multiple ways to implement one thing ].
In fact, there are not many books about Ruby on the Internet, not as many as Python; but this is also a benefit, that is, there is no need to worry about choosing learning materials because of the lack of information. [Just like: Learning a language has only one piece of information.] Now, we will sort out the materials and resources we have learned over the past two days to facilitate future searches.
1. Ruby Official Website: http://www.ruby-lang.org/zh_cn/
Below, you can download and have officially recommended documents, learning resources, andCommunity, Mail list, user group, Ruby defect tracking, Ruby openSource codeContribution and so on. You can say that everything about Ruby is available.
2. Ruby online documentation: http://ruby-doc.org/
Specialized documentation websites in Ruby language, including Ruby tutorials, standard APIs, core APIs, and Ruby extension documents.
Other Ruby websites or communities seem to be less powerful, but these two are enough, as long as the community or email list is active.
In addition, I learned first-hand information about Ruby. With this information, I can gradually learn about Ruby's personality, characteristics, and disadvantages; it is easy to learn Ruby in depth.
The first recommended book is:Learn to program
This is a recommendation link on the ruby official documentation page. It is an entry-level reader and a concise tutorial similar to Python.
The second is:Programming Ruby[The pragmatic programmer's Guide]
This book requires money from the first, second, and second editions. The first edition comes with Ruby when it is installed on windows. It is actually a help document for Ruby.
The third is:Ruby metaprogramming
To put it bluntly, learning dynamic languages without learning this feature makes little sense.
Fourth: written by the ruby author《Songben xinghongOfProgramWorld
It is also good to learn the programming ideology of its "creator. Haha
After reading these books, you can perform regular programming work, and gradually practice + Supplement and study other books in the future. If you are interested,AbilityPrerequisites: You can understand Ruby's virtual machines, coreapi, and source code.
Other Books downloaded include:
Ruby tutorials
Ruby cookbook: practice-related books
RubyProgramming Language: A book related to Ruby authors
Website resources:
Ruby programming encyclopedia
Ruby User Guide: written by the ruby author