Is python object-oriented?

anonymity
Release: 2019-06-14 09:51:38
Original
9503 people have browsed it

Python is an object-oriented, interpreted computer programming language invented by Guido van Rossum at the end of 1989. The first public release was released in 1991. Python source code also follows the GPL (GNU General Public License) agreement . Python syntax is concise and clear, with rich and powerful class libraries.

Is python object-oriented?

But in factProcedure-orientedandObject-orientedare a kind of programming ideas. We cannot say whether a certain language is oriented or not. Object-oriented or process-oriented, but whether a certain language supports object-oriented or process-oriented. Returning to the topic, Python can support object-oriented, but it can also support process-oriented, even if it does not support object-oriented languages.

For example, in C language, you can also write programs using object-oriented thinking. You can understand object-facing as "modularization", and Python happens to be able to do this. Function files written by yourself can use import to reference modules. Even if classes are not used to define classes, object-oriented ideas can be realized.

The above is the detailed content of Is python object-oriented?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!