A
A
Alexander Volkov2017-03-10 07:10:24
Python
Alexander Volkov, 2017-03-10 07:10:24

How important is OOP in Python?

I am learning Python through the application from SoloLearn, I reached the section of Object-Oriented Programming, and I don’t understand anything in it, I used all the tips to just go through this section and forget it, but somehow my heart is not calm. Will OOP be useful to me in my future work with Python? In which development environment is OOP important?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander, 2017-03-10
@hopel19

OOP is absolutely essential if you are going to write anything more than 30 line scripts.
I would not teach OOP through a mobile application. I tried the SoloLearn SQL application, poked it around for a few minutes and deleted it. This is a prank, a serious topic cannot be studied like that. No wonder you didn't understand.
Read books and write your own code.
In fact, there is nothing prohibitively complex in OOP. It is based on simple principles.
An object is a way to represent a related set of data and methods for working with this data as one semantic unit.
A class is simply a schema that describes objects of a particular type. According to this scheme, as according to the drawing, the computer creates instance objects.

D
Daniil Demidko, 2017-03-10
@Daniro_San

So much so that any entity other than instructions is an object.
Functions, primitives, strings are also objects.
Better drop the app.
Download any book of Lutz and CPython - there will be much more benefits.

D
Dmitry Alexandrov, 2017-03-10
@jamakasi666

OOP is the dominant principle at the moment. It is necessary to know and it is necessary simply because in python the vast majority of libraries are written according to the OOP paradigm. Although Python itself does support many paradigms, OOP and structural and functional programming.

D
Draconian, 2017-03-10
@Draconian

Most modern programming languages ​​follow OOP principles.
In my opinion, you should start with OOP, and not with the syntax of the for loop in Python, for example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question