What is The Difference Between PHP And Self, Programming Languages
PHP is a Scripting Language, while Self is an Object-Oriented Programming Language
What are Scripting Languages
Scripting languages are programming languages that control an application. Scripts can execute independent of any other application. They are mostly embedded in the application that they control and are used to automate frequently executed tasks like communicating with external programs.
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)
While PHP is a Scripting Language, and Self is an Object-Oriented Programming Language
Let us now look at the difference between the two:
What is PHP Programming Language – A brief synopsis
PHP is one of the very popularly used general purpose scripting languages. It is developed for creating dynamic web pages and supports a command line interface capability.
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.
Sources
A Complete List of Computer Programming Languages
Other Posts