Difference between revisions of "Object-oriented programming"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "Object-oriented programming (OOP) is an approach to organizing code by dividing it into classes and objects. MiniScript supports prototype-based OOP through <c>new</c>, <...")
 
 
Line 1: Line 1:
 
Object-oriented programming (OOP) is an approach to organizing code by dividing it into classes and objects.
 
Object-oriented programming (OOP) is an approach to organizing code by dividing it into classes and objects.
  
MiniScript supports prototype-based OOP through <c>[[new]]</c>, <c>[[super]]</c>, and <c>[[isa|__isa]]</c>.  
+
MiniScript supports prototype-based OOP through <c>[[new]]</c>, <c>[[self]]</c>,  <c>[[super]]</c>, and <c>[[isa|__isa]]</c>.  
  
 
{{stub}}
 
{{stub}}

Latest revision as of 23:29, 19 February 2020

Object-oriented programming (OOP) is an approach to organizing code by dividing it into classes and objects.

MiniScript supports prototype-based OOP through new, self, super, and __isa.


This article is a stub. You can help the MiniScript Wiki by expanding it.