What is Ruby and Ruby Overview _ruby topics

Source: Internet
Author: User
Tags error handling exception handling garbage collection
Ruby is a powerful object-oriented scripting language that allows you to quickly and easily object-oriented programming. Sometimes it's a little "fuss" to develop small projects using formal object-oriented languages such as Smalltalk, Eiffel, or C + +. And Ruby just meets the needs of these object-oriented programming. Of course, you can also use Ruby for general process-oriented programming.

Ruby has a great deal of text processing and is Briber with Perl. At the same time, Ruby's syntax is simple, there are exception handling and iterators and other constructs, making programming simple and straightforward.

In short, you can do object-oriented development as quickly and easily as you would with Perl. How about that? Try it!

Ruby is a free software developed by the Pine Bank of Hong.

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 platform such as Dos,windows,mac,beos
The original is by webmaster[at]ruby-lang.org
Sparse billion network software (Beijing) for translation
Ruby is "an explanatory scripting language for quick and easy object-oriented programming"; What does that mean?


Explanatory scripting language:

Ability to invoke direct call system

Powerful string manipulation and regular expressions

Fast Feedback in development


Quick and easy:

No variable declaration required

Variable has no type

Simple and solid grammar

Automatic memory management


Object Oriented Programming

Everything is an object

Classes, inheritance, methods, etc.

Single State method

Modular Blend

Iterators and closures (closures)


And:

Multi-precision integers

Exception handling mode

Dynamic load

Thread


If you are not familiar with the above concepts, read on, don't worry. Ruby's motto is "Quick and easy".
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.