Introduction to Ruby

Source: Internet
Author: User
Tags error handling exception handling garbage collection

Ruby Overview

Ruby is a powerful object-oriented scripting language that allows you to easily and quickly object-oriented programming. Sometimes using a formal object-oriented language such as Smalltalk, Eiffel, or C + + to develop small projects is a bit of a fuss, and Ruby just satisfies these object-oriented programming needs. Of course, you can also use Ruby for general process-oriented programming.

Ruby has a strong text-processing capability, and is Briber with Perl. At the same time, Ruby's syntax is simple, there are exception handling and the construction of iterators, making programming simple and straightforward.

In short, you can do object-oriented development as quickly and easily as with Perl.

Ruby's Specialty

Simple syntax

Common object-oriented functions (classes, method calls, etc.)

Special object-oriented functions (Mixin, special methods, etc.)

Operator overloading

Error handling features

Iterators and closures

Garbage collection

Dynamic loading (depending on system architecture)

High portability, not only can run on most Unix, but also can run on the platform such as Dos,windows,mac,beos

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.