Class Tricks - Part 1


Classes very similar to C++ class concept in python. If you investigate class consept in C++, which is the need you can find in python for any item. Python is a multi-paradime programing language, so it's soo available language for object oriented programing paradime. In object oriented programing, objects can classify data and classes can customizable with specified new features. Many programing lanugages support this paradime.



In C++'s OOP(i have to use with OOP, because Object Oriented Programing name is too long) has a lot of tools. Also Python use these tools and structure. I will mention about Data Abstraction, Encapsulation, Polymorphism, Inharitance.


What comes to mind first when a OOP is called ? In my guesses, probably you're imagining look like following the picture. Yes, it's true. You can imagine like that, every one is object, but those has a different attributes in data type. So every class can be identified like that. At this point, purpose of classes can be more powerfull skillsa and usefulness.



As a result, Python has this paradimes, topics, idioms etc. What would you like to create in algorithm, you can do incremental level. I just mantioned only OOP's structure, ideas and purpose briefly.





Comments