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>, <...")
 
m
 
(One intermediate revision by one other user not shown)
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}}
 +
 +
[[Category:Language]]

Latest revision as of 02:29, 30 January 2025

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.