Ruby - Overview of Ruby programming language

Overview of Ruby programming language.

Ruby is a dynamic, open source programming language. It focuses on productivity and simplicity. The syntax is elegant which is natural to read and easy to write and use. The language is flexible, since it allows the developers alter freely all its parts. At will, one can remove essential parts and redefined. For instance , the symbol + can be redefined by the word ‘plus’ to one of the its classes – Numeric.

Ruby supports multiple programming paradigms, such as, functional, imperative, object oriented, relative. Dynamic memory management and dynamic type systems are additional features of Ruby.

Overview of Ruby programming language.

An open source programming language that focuses on simplicity and productivity. The syntax of Ruby language is elegant which is natural to read and easy to write. Ruby is well known as language of careful balance. It has the blended features of Perl, Small talk, Eiffel, Ada and Lisp. Ruby was designed to form a new language which is to balance the functionality with imperative programming.

In Ruby everything is an object. Every bit of information in code is given with properties and operations. Ruby is a language of flexibility. It allows its authors to free alter the programming elements. Certain parts of the language can be removed or redefined. Ruby does not restrict the user. For example, to add two numbers, Ruby allows to use + sign or the word ‘plus’. This alteration can be done with Ruby’s built-in class Numeric.

Ex:
class Numeric
   def plus(x)
          self. +(x)
   end
end
sum = 5.plus 6

Overview of Ruby programming language.

Ruby is a dynamic, reflective, general purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features.
It also has a dynamic type system and automatic memory management.
It is therefore similar in varying respects to Perl, Smalltalk, Eiffel, Ada, and Lisp as it is based on them.
Ruby - What is Rails?
Ruby on Rails is an open source web application framework for the Ruby programming language.......
Ruby - Describe class libraries in Ruby
The Ruby standard library extends the foundation of the Ruby built-in library with classes and abstractions for a variety of programming needs.....
Ruby - Garbage collection feature of Ruby
Ruby is an object oriented language and every object oriented language tends to allocate many objects during execution of the program........
Post your comment