Variable Declaration
Control Structures
Data Structures
OOP (for beginners?)
Syntax And Tools
Post #70: Analytics Insight, 5 Fundamental Coding Concepts for Beginners, 2023.
Post #90: The pillars of object-oriented programming: Object, Class, Inheritance, Polymorphism, Abstraction and Encapsulation, 2023.
Object-oriented programming is a fundamental concept present in numerous programming languages such as C++, Java, JavaScript, and more. It becomes straightforward once you truly grasp it, and that's precisely what this post aims to help you achieve. So, stop your scrolling for a second and delve into this post for a thorough and clear explanation.
To grasp OOP, let's begin by explaining the name itself: "Object-Oriented." This term signifies that OOP revolves around entities known as "objects."
An object in OOP is any entity that possesses both state and behavior. Consider a dog as an example: it has states such as color, name, and breed, while its behaviors encompass actions like wagging the tail, barking, and eating.
The reason we introduce the concept of objects in programming is to effectively represent real-world entities, a task that cannot be accomplished with conventional variables or arrays.
Now, what about classes? A class is essentially the abstract form of an object. If we take the example of a "dog," the object "Mydog" is a concrete instance, while the class "dog" represents dogs in a more general sense. Think of a class as a blueprint or template from which you can create individual objects.
Now that we've established the fundamentals of objects and classes. OOP is built upon four key principles:
Inheritance: Inheritance occurs when one object inherits all the properties and behaviors of a parent object. It promotes code reusability and facilitates runtime polymorphism.
Polymorphism: Polymorphism entails performing a single task in multiple ways. For instance, it can involve presenting information differently to customers or implementing different shapes like triangles or rectangles.
Abstraction: Abstraction is about concealing internal details while exposing functionality. Consider a phone call; we don't need to understand the intricate inner workings.
Encapsulation: Encapsulation involves bundling code and data into a single unit. Just like a capsule contains various medicines . In a fully encapsulated class (e.g., a Java bean), all data members are private, ensuring data integrity and controlled access.
I remember finding these images that explained these concepts using the 'Squid Game' series, and they are just perfect. So, I'm sharing them here and giving all credit to their owner :
Polymorphism , Inheritance , Encapsulation
Counting how many times you have to roll the dice to catch 8 dice with the same number in a row.
Post #161: Jahtzee², Exercise, Python code snippet, 2025.
My favourite Learn-App for Python, HTML, CSS and Java Script. I have a lot of fun and success to study and repeat learning stuff again and again. For me MIMO is much better than SoloLearn.
Post #50: My Python-Certificate on MIMO, 2023.
Post #102: YouTube, Estefanía Cassingena-Navone, Learn Python In 2 Hours, 2023.
Estefanía is one of my favourite programming instructors. She explains step by step and visualizes wonderfully. I also like her voice and how she gets to the heart of the learning content. I have booked several coding courses on Udemy which are really excellent.
Thonny is one of the best programming editors for windows to dive into Python. This IDE offers a lot of options to have a pleasant programming experience from the very beginning and later too.
Post #7: THONNY - My favourite Python programming editor for Windows. It is a simple and powerful IDE for all ages, 2023.
The source code of my exercise ...
The output of my source code ...
Post #77: YouTube, Programmieren-Starten, Python Tutorial, #20 Funktionen mit Rückgabewert, 2023.
The source code of my exercise ...
The output of my source code ...
Post #65: YouTube, Programmieren Starten, Python Tutorial, #17, Die For-Schleife als Zählerschleife, 2023.
Post #105: Esay Coder, Learn JAVA and PYTHON programming with ease, 2023.
I have been learning programming with SoloLearn every day for 1 year or 365 days now: Python, C#, HTML, CSS and JavaScript. For me, SoloLearn is one of the best providers for learning coding on the go using a tablet or smartphone.
Post #117: SoloLearn, My 365 Days Streak, 2024.
My certificate ...
The structure and modules of the Python Developer Course ...
Post #100: SoloLearn, The structure and my certificate of the "Python Developer" Course, 2023.