How to understand abstract nouns in python

       There are many abstract nouns in python, so how to explain these abstract nouns in an easy-to-understand manner, so that beginners no longer feel confused and helpless? Here are some of my ways to understand these abstract nouns for your reference. (to understand classes and objects)

       Classes and objects are often used in the learning process of python. How to distinguish between classes and objects? We introduce the discipline of philosophy to solve this problem. There is a term in philosophy called "abstract". Abstraction refers to the extraction of one or more attributes of an object to describe a class of things. The abstracted things are not concrete. What cannot be described in detail is invisible and intangible; the "class" we encounter in python is the same, it is abstracted to describe a class of things, for example, "car" is An abstracted noun used to describe the collection of all inanimate objects with the function of "running" under the operation of human beings. It represents the collection of all cars, which is empty and unspecific, and we cannot describe it. Its specific properties can't be seen or touched. Therefore, the class is indescribable, invisible, and empty. There is also a term in philosophy called "concrete", which means that it can be described and can be seen and touched. Objects in python can also be described. Just now we said that "car" is a Class, then at 8:00 this morning, is the white car parked at the second parking lot in front of Chaoyang Library in Beijing a class or an object? Let's analyze it with the thought just now. This car is real. It stopped at the second parking lot in front of Beijing Chaoyang Library at 8:00 this morning. It can also be described in detail. Its color is white and its model is Audi. x6, this conforms to the basic characteristics of an object, so it is an object, not a class.

      There are other abstract nouns, I will not list them one by one, you can use this method to distinguish the properties of objects and the behavior of objects.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324643623&siteId=291194637