← Back to articles

Object-Oriented Programming in the Thoughts and Experiences of Hockey Player Stepan Osechkin

Article cover: Object-Oriented Programming in the Thoughts and Experiences of Hockey Player Stepan Osechkin
In programming there are several main paradigms - approaches that determine how programmers structure and organize their code. One of the most popular approaches now is object-oriented programming, OOP, where code is organized around objects and classes. Object-oriented approach is supported by many programming languages and beginning developers should understand in more detail what the scary words "polymorphism", "encapsulation" and other terms used in this paradigm mean in practice. In this article, I will tell you about key concepts related to OOP, and analyze how the same problem can be successfully solved using both procedural and object-oriented approaches using Python code as an example. But let's start traditionally with the basics, and a fictional hockey player Stepan will help me with this.