Programming Languages and Paradigms, SEN6220

0
160
Programming Assignment

Perl, Eiffel, Smalltalk, lisp, and ADA were just a few of the programming languages that Yukihiro Matsumoto was proficient in. The Ruby on Rails web development framework launched in 2005 is the language’s claim to fame. Matsumoto’s creation of the Ruby programming language was to increase programmers’ happiness, satisfaction, and productivity. By implementing the ruby spec specification, ruby implementors uphold the de facto behavior standard.

The main objective of this research is to identify and emphasize the critical components of the Ruby programming language, including polymorphism and abstraction. In the framework of this study, we made a comparison of Ruby with other languages. We have identified the main traits that make it easier to develop aesthetically pleasing features and design applications within this research’s context.

History

Midway through the 1990s, Yukihiro “Matz” Matsumoto developed Ruby. He was a software developer from Japan. Before he developed ruby, Matsumoto was an expert in several programming languages, including Perl, Eiffel, Smalltalk, lisp, and ADA. When he created ruby, he aimed to incorporate the finest features of these languages. Ruby was initially made available to the public in 1995, although we generally used it in 2006. Since then, programmers from various sectors have used ruby to develop some of the most popular apps in the world, giving it a sizable global user base. Additionally, ruby-related conferences draw sizable audiences of fervent developers to essential places.

Yukihiro Matsumoto needed an object-oriented programming language that we could also use to create scripts. Thus, we developed the programming language ruby. We contested the names “Coral” and “Ruby” for the programming Assignment by Yukihiro Matsumoto and Keiju Ishitshuka. Later, Yukihiro Matsumoto decided to give one of his employees the birthstone “Ruby.” The language’s claim to fame is the Ruby on Rails web development framework, which debuted in 2005.

Ruby on Rails revolutionized web development by enabling programmers to create complex, user-friendly online programs in a fraction of the time previously required. Because it allowed small teams to develop large projects quickly, Ruby on Rails quickly gained favor among company entrepreneurs who were short on time.

Influences

Only a few years after earning his degree in 1993, Matsumoto started working on Ruby. Because he needed a scripting language with characteristics that no other scripting language offered, he began developing ruby. Although he was using Perl, he believed it to be a “Toy language” in excess. Even Python fell short; in his own words:

“I was familiar with Python at the time. However, I wouldn’t say I liked it because I didn’t think it was a real object-oriented language; instead, the OO features seemed to be an afterthought. As a language freak and 15-year oo lover, I yearned for a true object-oriented, user-friendly scripting language. I searched for one but was unsuccessful.” (Ishituka & Matsumoto 2002)

It is possible to interpret Matsumoto’s motivations for creating ruby as an effort to create a superior, object-oriented version of Perl. On the other hand, Matsumoto claimed that the main reason for creating Ruby was to make themselves and others happier. Near the end of a Google technical lecture he gave in 2008, Matsumoto offered a slide in which he expressed his desire for ruby to help all programmers worldwide be more productive, enjoy their work, and be happy. This objective guided the creation of the ruby programming language.

Interpretation vs. Compilation

While the ruby MRI continues to be the primary interpreter, we could better suit another ruby implementation for your project based on its operational goals and limitations. Ruby programmers frequently utilize ruby spec, a community-driven project that uses tests we can perform on any ruby interpreter to specify expected ruby behavior. The de facto behavior standard is enforced by ruby implementors using the ruby spec specification.

Due to the absence of a defined standard, new ruby releases frequently coincide with new ruby MRI versions. “It’s important to draw attention to the ongoing debate about decoupling the language of Ruby from the ruby MRI design process. Because the ruby language and the MRI reference implementation are so closely related, it can be difficult for developers of other ruby implementations to stay up to date with the language modifications made in each new MRI version.”