[Reprinted] Why Ruby?

Source: Internet
Author: User
This is a very simple introduction to the feasibility of various scripts, without the expectation of some friends for Ruby.
This question is also very difficult to answer, but it is easy to answer why Ruby is not. So let's answer why Ruby is not! First, there is no file to parse Ruby. I remember that when I learned Ruby's PostgreSQL and LDAP APIs, there were only three to four objects in my hand. Do I still remember Perl DBI in the third-to-fourth-generation, non-300 or 400-generation files? Perldoc has more than 20 bytes of content. It does not need orelly's Perl DBI. In addition, it does not have the python runtime. If I want to introduce the script Lanuage in Linux ....

Perl

I will count Perl first, and I am not interested in some of them, so I began to like oo script myself! Because he has a long history in Linux and has the most tools, even if you don't understand Perl, you can also copy what you need in the opensource world. How can we improve the performance of Perl in some system engineering systems? The reason is not that Perl is not good, but that it can be too difficult to work, it is easy to generate a tool that can intrude into other people's websites, and even make some bad ideas on the website. Of course, the heart is not oblique.

Python

I will count python, because it is an OO program. Of course, the OO components will make a good Python program, but it will also make Python programs more available. If you have used Python Win32, you can feel that as long as you know python, you can develop mswin * applications. In addition, python can also be implemented on the Java "Platform" to make Python more cross-platform. If you are a PDA user, Python 1.5 can be used on the palm, and 2.2 can be used on the wince. In addition, there are also a large number of Python workers, for example, orelly has learn python, programming python, Python Win32, and online Doc libraries. in Linux server, APIS also support python. For example, in PostgreSQL, you can use python to compile server functions. In addition, he has many tool modules, and his analytics can be almost the same as Perl, so Python will be the second choice.

TCL

Third, I may count on TCL, which is an ancient program. Gradually, we started to use fewer programming languages, but because of historical factors, we made many important scenes. You will also see his shadows, on the other hand; their syntax is different from Perl or PHP, So if you encounter some scenes that must use TCL, you should learn it first. In TCL, there is a mobile CT program (what is a mobile program? This program is generated, So that you need to test and use this platform 」, then this program is the ghost program of this platform. For example: mswin *'s msoffice.) What is wrong CT? Verify CT this program can be called a different program, but pay attention to the response called the response program to make different responses. For example, you can use login CT to directly control the login process, and you can use it to send BCC messages. Or log on to different FTP sites.

Secondary CT

Many old-fashioned Friends also like to ask me: Which program can set thousands of users for the same time in Linux, which can also be easily completed by Reverse CT.
Ruby
It seems that Ruby cannot be used. Why should we use Ruby? I can only say that this program is too interesting, and Ruby is more oo than Python among the die head users of Ruby. I have written a lot of Ruby code myself. I feel cool and cool. In addition, I started to learn the program oo. In addition, it has fewer files. Therefore, I feel much more involved when I can generate some good code. This is another option. However, I don't really have a specific idea for everyone to join Ruby. I can only say a just of fun.

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.