Like Python, to which it is often compared, Ruby is a high level language written in C/C ++., It is multiplatform and strongly object oriented, with the first version appearing in 1995. Introduced with the intent to conceive an inspired language from Perl, Eiffel, or Ada, it works according to the "principle of least surprise", an expression which its creator Yukihiro Matsumoto clarifies in various interviews.
Ruby is best known in the world of web development, along with the free framework Ruby On Rails, with the first stable version being released in 2005. Let's go back to the fundamentals: its syntax, its operation, its approach to programming by object, etc.
The syntax of Ruby inspired that of Elixir, running on Beam virtual machine, and Crystal, which is compiled in LLVM bitcode.
A language simplified by a set of conventions :
Thanks to a set of rules such as the role of capitalization to distinguish constants, the language has been made simpler and more intuitive.
His sources of inspiration are Perl, Smalltalk and Python.
UTF-8
Variables and constants:
To learn more.