#oop
Explore materials tagged "oop" from expert practitioners. Up-to-date articles and useful tips to help you grow.
Articles with tag "#oop"
All materials on the topic oop
Event Loop in Python: How asyncio Enables Concurrent Execution
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
A class defines an object's data and behavior, while init establishes its initial state.
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: Make Python Work for You π
Imagine that you need to display a rocket five times. You could copy print(rocket) five times, but programmers do not...
Similar tags
Study related topics
Looking for more on the topic?
Study all our materials or subscribe to updates