"Ruby Project, language submission check (i)" How to learn ruby at high speed?

Source: Internet
Author: User

How to learn ruby at high speed ?

The quickest way to learn a language.

variables, constants, variable types, operators.

Logical statements such as if, else, switch, for, foreach, does while, break, and so on. What languages do you want to learn? What are the commands that are similar to these commands? Know how to use it.

Then, assuming object-oriented, you need to understand the object's operation.

There is no library of functions. The general language is there.

Output command functions, manipulating arrays, manipulating strings. Object Properties

Manipulating text files

The other is to create the object. Classes, arrays of this kind.

Well, it's going to be the top, you haven't finished the language yet, but you are able to do things in this language.

Let us realize our ideas at a high speed.

This system article is one of my learning log-type articles.

The goal is to learn the Ruby language at a high speed , and write a task that commits SVN or GIT in this language and perform a certain screening and filtering work before committing.

Difficulties:

1,Ruby language learning

2. operation with SVN or GIT

3, check the method (I do not understand this aspect.)

So want to learn, but also know that the difficulty is very high, shallow only check variables, parentheses and so on. Then there is the format and so on, deep is the grammar check, and then deep is the semantic examination.

As far as my ability is concerned, the existing open source software will be used directly. Instead of using Ruby to rewrite it. So just the function can be achieved just fine, the other later. As for what language to check here.

You might have a check in Ruby or php first .

I didn't think of it now. Say the first two implementations. is to check, can just write a small piece of code to test. So it's not very difficult.

A development environment is generally needed before the start. That's what I've done: (mac os OSX )

http://blog.csdn.net/wide288/article/details/30055483

Ubuntu 12.04

https://github.com/ruby-china/ruby-china/wiki/Ubuntu-12.04-%E4%B8%8A%E4%BD%BF%E7%94%A8-Nginx-Passenger-%E9%83% A8%e7%bd%b2-ruby-on-rails

Your environment go on your own and find a way. Let's say you can't do that. I don't think you are fit to learn this. Change a better thing that you can do. It's not that you're not smart, you just can't find what's right for you.

All right.

Maybe it's my fault, and give us all a chance:

Http://lrthw.github.io/ex00/

Suppose this still doesn't understand I really can not help. Don't expect me to rewrite this.

Then let's go to the high-speed study of the language. In the next article, I'll take it as a look at what the language looks like.

Will write something simple.

"Ruby Project, language submission check (i)" How to learn ruby at high speed?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.