User Tools

Site Tools


programming_general:object-orientation_fundamentals

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
java:object-orientation_fundamentals [2020/09/11 21:56] – [Encapsulation and protection] mithatprogramming_general:object-orientation_fundamentals [2020/09/11 22:05] – ↷ Page moved from general:object-orientation_fundamentals to programming_general:object-orientation_fundamentals mithat
Line 80: Line 80:
 ==== Prototype-based object-orientation ==== ==== Prototype-based object-orientation ====
  
-There is another kind of object-orientation called **prototype-based object-orientation** or **prototype-based programming**. This is the kind of object-orientation used in JavaScript and some other languages.((C++, Java, C#, and PHP support only class-based object-orientationJavaScript and Ruby are inherently prototype-basedObjective-C is class-based but lets you do prototype-based programming.)) I will leave it to you to get your Google on and learn more about prototype-based object-orientation if you want.+There is another kind of object-orientation called **prototype-based object-orientation** or **prototype-based programming**. This is the kind of object-orientation used in JavaScript and some other languages.((C++, Java, C#, and PHP support only class-based object-orientationJavaScript and Ruby are inherently prototype-based, though "modern" JavaScript (ES6 and beyond) can emulate class-based inheritance. Objective-C is class-based but lets you do prototype-based programming.)) I will leave it to you to get your Google on and learn more about prototype-based object-orientation if you want.
  
 ==== Ovens and code ==== ==== Ovens and code ====
programming_general/object-orientation_fundamentals.txt · Last modified: 2020/11/15 00:03 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki