February 24th 2022 celebrates the creation of the Ruby programming language


February 24th 2022 celebrates the creation of the Ruby programming language
Опубликовано: 23.02.2022


читати українською   читать на русском

In the mid-1990s, Japanese programmer Yukihiro Matsumoto published the object-oriented language Ruby. Originally used almost exclusively in Japan, the scripting language has since established itself as a popular alternative to industry leaders PHP, Python, etc. And there is a reason for the success of program: during the development stages, Matsumoto set a goal: to ensure that programming is always fun, and so he incorporated the best aspects of other languages ​​into Ruby. As an interpreted scripting language, code is executed by an interpreter. This means that it has a slight downside compared to compiled scripts. At the same time, this aspect makes Ruby more dynamic and flexible. Ruby code is platform independent due to the fact that there are dedicated interpreters for all operating systems.


In 2005, interest in Ruby language skyrocketed in tandem with Ruby on Rails, a web framework written in Ruby. Rails is often credited with raising awareness of Ruby. February 24, 2022 marks the 29th anniversary of Ruby programming language.


Ruby has been described as a multi-paradigm programming language: it allows for procedural programming: defining functions and variables outside of classes makes them part of the root, object itself, with object orientation. This means everything is object or functional programming. It has anonymous functions, closures and continuations; all operators have values, and functions return the last evaluation. It supports introspection, reflection and metaprogramming, as well as support for interpreter-based threads. Ruby supports dynamic typing and parametric polymorphism.


Ruby is a dynamic, object-oriented, reflective programming language focused on simplicity and performance. This language has an elegant syntax that is easy to read and easy to write, a dynamic type system, and automatic memory management. Known for its syntactic sugar, Ruby is designed to make developers happy. It was created by Japanese software engineer Yukihiro Matsumoto (known as Matz) as a general purpose scripting language for his daily work. A combination of Perl, Smalltalk and Scheme elements in a simple yet powerful syntax.


Ruby was conceived on February 24, 1993. In a 1999 post on ruby-talk mailing list, Yukihiro Matsumoto describes some of his early ideas about the language:


I was talking to my colleague about the possibility of an object-oriented scripting language. I knew Perl, but I did not like it because it smelled like a toy language. An object-oriented language seemed promising. Then I knew Python. But I did not like it because I did not think it was a true object-oriented language - the object-oriented features seemed like an addition to the language. As a language maniac and object-oriented programming fan for 15 years, I wanted an object-oriented, easy-to-use scripting language. I searched but could not find. So I decided to do it.


The first public release of Ruby 0.95 was announced on Japanese internal newsgroups on December 21, 1995. Subsequently, 3 more versions of Ruby were released in 2 days. The release coincided with the launch of ruby-list mailing list in Japanese, which was the first mailing list for new language.


Like Perl, Ruby handles text processing. Just like in Smalltalk, everything in Ruby is an object, there are blocks, iterators, metaclasses, and other useful things. You can use Ruby to write servers, experiment with prototypes, and do everyday tasks. As a fully integrated object-oriented language, Ruby scales. By 2000, Ruby was more popular in Japan than Python. But as Ruby on Rails web framework was created and released, it grew far beyond Japan. Today, Ruby on Rails is considered a solid web platform and has pioneered many great practices in web development. Also, many sites are written in Ruby on Rails, such as GitHub, Airbnb, Groupon, etc.


There are various implementations of Ruby. JRuby (Ruby on JVM), Ruby MRI (CRuby), and IronRuby (Ruby for .NET and Silverlight) are among the most popular.


Due to the strong dependency between components and modules, Ruby on Rails is suitable for standard web applications. However, when it comes to an app with some unique features, customization can be a daunting task.


The language is extensible. We have Ruby language, but we can add many things such as class libraries to extend the language. Ruby language allows you to make it even stronger by adding classes, like adding objects. The second thing that is part of this is blocks. A block is somehow a form of a higher order function, but Ruby provides things in a neat way that forms the point that you can extend the method by adding blocks. Important in Ruby language is a community. We cannot live without programmers. Ruby is not just a language and a technology; the community is the most important for language.


Buy Me A Coffee

Мы являемся сертифицированным партнером компании TemplateMonster


Закрыть

Заказ сайта


Заполните, пожалуйста, форму заказа сайта. После обработки мы свяжемся с Вами и уточним детали.





Я согласен с Пользовательскими соглашениями

Закрыть

Написать письмо


Заполните форму. После ознакомления мы свяжемся с Вами.






Закрыть

Заказ обратного звонка


Оставьте Ваш контактный номер и наш оператор перезвонит Вам в течении часа.



Например: +38(063) 012-34-56

Вверх
@
заказать звонок
+