Showing posts with label Ruby. Show all posts
Showing posts with label Ruby. Show all posts

Sunday, November 6, 2011

Ruby

Ruby, a simple and efficient object-oriented programming ( OOP) and a scripting language, in nineteen ninties from Japanese pine Bank Hong ( Mada and protect completed / Yukihiro Matsumoto ) development, comply with the GPL agreement and Ruby License. It was inspired by and features from Perl, Smalltalk, Eiffel, Ada and Lisp language. By the Ruby language itself also developed JRuby ( Java ), IronRuby ( . NET platform ) and other platform Ruby language alternatives. Ruby authors in February 24, 1993 began writing Ruby, until 1995 December was officially published in FJ ( news ). Because Perl pronunciation and June Birthstone Pearl ( Pearl ), so the Ruby in July Birthstone Ruby ( Ruby ) named.
History
Ruby obviously than other similar programming languages ( such as Perl or Python ) young, and because Ruby is a Japanese invention, so early non Japanese data and procedure is relatively poor, so now the Internet can still find Ruby little information or criticism. Around 2000, Ruby began to enter the United States, began to develop English data.
Idea
Reduce programming time little time to write a program, the people happy, design Ruby language Matz is a primary consideration; second is a good interface design. He stressed that the system must be designed to emphasize humanity, rather than from the perspective of the machine vision.
" People especially computer engineers, often from the machine. They say: ' do this, the machine will run faster; in so doing, the machine run more efficient; in so doing, the machine will do. ' In fact, we need from the people 's point of view, how people write a program or how to use the machine application. We are the host, they are the servants."
Follow the above concept, the Ruby language is usually very intuitive, in accordance with the programming thought it should be run. Ruby is fully object oriented: any point data are objects, including in other languages ( such as basic types: integer, Boolean values), each procedure or function is a method.

Thursday, August 25, 2011

Ruby

Ruby, one for quick and easy object-oriented programming (OOP) and create a scripting language, in the 1990s, Yukihiro Matsumoto, developed by the Japanese, to comply with the GPL and the Ruby License. Its inspiration and features from Perl, Smalltalk, Eiffel, Ada, and Lisp language. By the Ruby language itself developed a JRuby (Java platform), IronRuby (. NET platform) and other platforms Ruby language alternatives. Ruby author on 24 February 1993 began to write Ruby, until December 1995 was officially published in fj (newsgroup). Because Perl pronunciation June birthstone pearl with the same, so Ruby to ruby ​​July birthstone name. History Ruby significantly higher than other similar programming languages ​​(such as Perl or Python) young, but also because Ruby is a Japanese invention, the early non-Japanese data and procedures are relatively poor, so now the Internet is still little information can be found in Ruby kind of criticism. About 2000, Ruby entered the United States, information in English began to develop. Idea Reduce programming time and unnecessary trivial time, the programming of the people happy, Matz Ruby language is designed as a primary consideration; followed by good interface design. He stressed that the system must be designed to emphasize human, rather than from the perspective of machine vision. "People, especially computer engineers, often from the machine the sake of their view: 'do so, the machine will be able to run faster; to do so, the machine run more efficiently; to do so, how how how the machine will' actually We need to consider the issue from a human point of view, how people write programs or how to use the application on the machine, we are the masters, they are servants. " Follow the above philosophy, Ruby language is usually very straightforward, according to the programming people think it should run.
 
Ruby is completely object-oriented: data is an object at any point, including in other languages ​​of the basic types (such as: integer, Boolean value), all methods for each procedure or function. The following is a standard output device on the output of a simple Hello World program, this program usually begin to learn programming language as the first program:
 
#! / Usr / bin / env ruby puts "Hello, world!" Feature Completely object-oriented In the Ruby language, everything is an object, including other languages ​​in the basic data types, such as an integer variable has no type Ruby variable can hold any type of data.
 
Nothing has value Whether a mathematical or logical expression or statement, will have a value.