Thursday, September 9, 2010

Ruby Introduction

  • Ruby was introduced by Yukihiro Matsumoto (known widely as “Matz”) in 1993
  • Ruby is a dynamic interpreted language which has many strong features of various languages
  • It is a strong Object oriented programming language which also has single inheritance as in Java
  • It also provides us with the feature called as mixins. Using mixins we can easily import methods from multiple classes using modules. Ruby also has the scripting feature similar to the Python and Perl
  • The Object oriented concept from C++ and Java also maintains the reliability of programming in addition to maintaining the security of code
  • Ruby is open source which means that it is free to be used; one does not need to pay anything to use it. Because of this feature of Ruby it is used worldwide by everyone
Ruby Introduction

Why learn Ruby

  • Ruby can easily recognize variable types all by itself. Due to this feature coders are not required to define variable types as we have to do in several other programming languages. Ruby's dynamic typing saves a lot of time for programmers
  • Ruby has been provided to programmers with various class libraries which are bundled together. These class libraries start from the basic data types to advanced level thread and network programming. These class libraries have not been saturated yet and Ruby still is in the process of getting more libraries with time to make programming more simple and efficient
  • Ruby also comes with an effective garbage collector which avoids the problem of memory leaks to a great extent and takes care of the misuse and unnecessary occupancy of the memory
  • Ruby provides us with familiar syntaxes which are known to C++,Eiffel, Perl, and Python programmers. These syntaxes are composed of all the common features available for the programming like the comments, identifiers, reserved words, literals, arrays, Regular expressions etc

No comments:

Post a Comment