- Esecutori
-
Impara
Impara Python Esempi eseguibili, NumPy, pandas e altro Impara l'IAReti neurali, ML e LLM da zero Impara C e C++ Puntatori, memoria, STL e C++ moderno Impara C#Fondamenti, OOP, LINQ, async ed esercizi .NET Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++
- SfideNuovo
OOP e design pattern in Python
Classi e oggetti, poi i pattern creazionali, strutturali e comportamentali usati nel vero codice Python.
Inizia il percorso →1 Classi e oggetti 2 lezioni
- Lezione 1 sfida Classi e oggetti in Python Definisci un tipo con stato e comportamento.
- Lezione 1 sfida Programmazione orientata agli oggetti in Python Impara incapsulamento, ereditarietà, override e polimorfismo con un esempio eseguibile.
2 Pattern creazionali 3 lezioni
- Lezione 1 sfida Singleton Pattern in Python Ensure a class has one shared instance and provide a global access point.
- Lezione 1 sfida Factory Method Pattern in Python Let subclasses or a factory method choose which concrete object to create.
- Lezione 1 sfida Builder Pattern in Python Construct a complex object through clear, incremental steps.
3 Pattern strutturali 4 lezioni
- Lezione 1 sfida Adapter Pattern in Python Convert an existing interface into the interface a client expects.
- Lezione 1 sfida Decorator Pattern in Python Add behavior to an object dynamically without changing its class.
- Lezione 1 sfida Facade Pattern in Python Provide one simple interface to a complex subsystem.
- Lezione 1 sfida Composite Pattern in Python Treat individual objects and object groups through the same interface.
4 Pattern comportamentali 5 lezioni
- Lezione 1 sfida Observer Pattern in Python Notify subscribed objects automatically when subject state changes.
- Lezione 1 sfida Strategy Pattern in Python Select an interchangeable algorithm at runtime.
- Lezione 1 sfida Command Pattern in Python Represent a request as an object that can be queued, logged, or undone.
- Lezione 1 sfida State Pattern in Python Change an object's behavior when its internal state changes.
- Lezione 1 sfida Iterator Pattern in Python Traverse a collection without exposing its internal representation.