- 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 Impara MatplotlibGrafici a linee, barre, dispersione e torta con visualizzatori Impara RustOwnership, trait, gestione degli errori e thread Impara GoSlice, interfacce, goroutine e canali Algoritmi Python Ricerca, ordinamento, ricorsione e visualizzazioni O(n) Algoritmi C e C++ Confronta le implementazioni in C e C++ Programmazione per bambini Impara a programmare giocando!
- SfideNuovo
- Per docentiNuovo
- Aggiornamenti
- Offrimi un caffè
Struct e interfacce
Struct, metodi, puntatori, interfacce, embedding, errori e generici.
- Lezione 1 sfida Structs Group related values into your own type with named fields.
- Lezione 2 sfide Methods and Receivers Attach functions to a type and choose between value and pointer receivers.
- Lezione 2 sfide Pointers Use & and * to share a value instead of copying it.
- Lezione 2 sfide Interfaces Describe behavior with an interface that any type can satisfy.
- Lezione 2 sfide Struct Embedding and Composition Reuse fields and methods by embedding one struct in another.
- Lezione 1 sfida Temperature Converter Convert between Celsius and Fahrenheit with your own number types.
- Lezione 2 sfide Error Handling Return errors as values, wrap them with context and check them with errors.Is and errors.As.
- Lezione 1 sfida Bank Account with Errors Model deposits and withdrawals that can fail with your own error types.
- Lezione 1 sfida Generics Write one function or type that works with many types using type parameters.