What is The Difference Between Self And Ruby, Programming Languages
Self is an Object-Oriented Programming Language, while Ruby is an Interpreted Programming Language
What are Object-Oriented Programming Languages
Object-oriented programming (OOP) is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. In OOP, computer programs are designed by making them out of objects that interact with one another. (Wikipedia)
What are Interpreted Programming Languages
An interpreted language is a programming language for which most of its implementations execute instructions directly, without previously compiling a program into machine-language instructions. The interpreter executes the program directly, translating each statement into a sequence of one or more subroutines already compiled into machine code. (Wikipedia)
While Self is an Object-Oriented Programming Language, and Ruby is an Interpreted Programming Language
Let us now look at the difference between the two:
What is Self Programming Language – A brief synopsis
It is an object-oriented prototype-based computer programming language. NewtonScript is used to write programs for Apple Newton and is largely influenced by Self.
What is Ruby Programming Language – A brief synopsis
The efforts for developing this language initiated in Japan in the 1990s. Similar to Perl, it has a dynamic type system and an automatic memory management. It supports multiple programming paradigms and is a dynamic object-oriented language.
Sources
A Complete List of Computer Programming Languages
Other Posts