#oop
Study materials by tag "oop" from expert practitioners. Current articles and useful tips for development.
Articles with tag "#oop"
All materials on the topic oop
Event Loop in Python: How asyncio Achieves "Parallelism"
Event loop is the heart of asyncio. It doesn't run code in parallel across multiple threads. Instead, it switches between...
CSS Pseudo-classes and Pseudo-elements
Pseudo-classes let you style elements based on their state or position in the DOM — without adding extra classes to...
Q Objects in Django ORM
Q objects allow you to build complex query conditions using OR, AND, and NOT.
Class-Based Views in Django
CBVs use classes instead of functions. The built-in CBVs implement common CRUD patterns.
OOP: Program Like a World Builder 🌍
Imagine: you're building a zombie-apocalypse game. You need zombies, humans, weapons. Every zombie has a name, health points, and can...
Creating Classes: `__init__` and `self`
init is called automatically when an object is created. Analogy: when a baby is born, it's immediately given a name...
The while Loop: Repeat While a Condition Holds 🔁
The for loop works great when you know how many times to repeat an action. But what if you don't?
The for Loop: Making Python Do the Work for You 🔄
Imagine you need to write the word "Hello!" 20 times. You could sit there copying print("Hello!") twenty times. But programmers...
Looking for more on the topic?
Study all our materials or subscribe to updates