python:about_python:about_python_iii
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
python:about_python:about_python_iii [2013/08/03 05:02] – [Python objects] mithat | python:about_python:about_python_iii [2014/02/28 22:26] – [Object oriented concepts] mithat | ||
---|---|---|---|
Line 33: | Line 33: | ||
In computing, we call objects that have been created from classes **instances**. Thus Jimmy' | In computing, we call objects that have been created from classes **instances**. Thus Jimmy' | ||
- | |||
- | Python uses class-based object orientation. | ||
=== Prototype-based object orientation === | === Prototype-based object orientation === | ||
Line 40: | Line 38: | ||
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. I will leave it you to get your Google on and learn more about 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. I will leave it you to get your Google on and learn more about prototype-based object orientation. | ||
- | You can do prototype-based | + | Python supports both class-based and prototype-based |
==== Python objects ==== | ==== Python objects ==== |
python/about_python/about_python_iii.txt · Last modified: 2017/12/06 01:57 by mithat