Ruby is a dynamic, open-source programming language that’s known for being a friendly first language for beginners. Thanks to its simple syntax, Ruby is intuitive to write and incredibly easy to read. It’s highly flexible and there’s more than one method to solving a problem. Ruby is often referred to as a pure object-orientated language. While it’s true that everything is an object that can be given its own actions and properties, Ruby also supports imperative and functional programming in addition to OO, so it can be seen as a multi-paradigm language.
The history of Ruby
Created by Yukihiro Matsumoto aka. “Matz” in the early 1990s, Ruby was largely developed on Linux, but works across most operating systems, including Windows, DOS, Mac OS X and Unix-based platforms. Matsumoto believes that programming languages should be designed for people, so it’s no surprise that Ruby is a high-level language. This means the language has been removed from computer hardware, so developers can speak in terms that are more human and closer to regular English, rather than unfriendly computer jargon. As a dynamically typed language, Ruby does type-checking at runtime, so developers don’t need to constantly specify types. Ruby is interpreted, meaning it’s converted into computer-readable code at runtime, instead of before the program is run.
Due to all these characteristics, Ruby is often compared to Python. Ruby and Python are two of the popular programming languages at the moment and are considered two of the easiest programming languages to learn. It’s no coincidence that Ruby is super easy to learn — Ruby was designed so that beginners can pick it up quickly while being powerful enough to be of use for experts. Ruby is considered similar to Perl and Smalltalk, languages which Matsumoto was influenced by when first creating Ruby. Like Smalltalk, Ruby is object-orientated, while being as convenient as Perl, resulting in programs that are better structured and easier to maintain.
Selina Chung is an Endorsed content creator for the tech and manufacturing sectors. Always up-to-date with London, Berlin and Munich’s tech scenes. Whenever she is not ferociously tapping away at her keyboard, she can usually be found reading a book or practicing a foreign language.