- Exécuteurs
-
Apprendre
Apprendre Python Exemples exécutables, NumPy, pandas et plus Apprendre l'IARéseaux de neurones, ML et LLM de zéro Apprendre le C et le C++ Pointeurs, mémoire, STL et C++ moderne Apprendre le C#Bases, POO, LINQ, async et exercices .NET Apprendre MatplotlibCourbes, barres, nuages de points et camemberts avec visualiseurs Apprendre RustOwnership, traits, gestion des erreurs et threads Apprendre GoSlices, interfaces, goroutines et channels Algorithmes Python Recherche, tri, récursivité et visualisations O(n) Algorithmes C et C++ Comparer les implémentations en C et C++ Programmation pour enfants Apprends à coder en jouant !
- DéfisNouveau
- EnseignantsNouveau
- Mises à Jour
- Offrez-moi un café
Structs et interfaces
Structs, méthodes, pointeurs, interfaces, embedding, erreurs et génériques.
- Leçon 1 défi Structs Group related values into your own type with named fields.
- Leçon 2 défis Methods and Receivers Attach functions to a type and choose between value and pointer receivers.
- Leçon 2 défis Pointers Use & and * to share a value instead of copying it.
- Leçon 2 défis Interfaces Describe behavior with an interface that any type can satisfy.
- Leçon 2 défis Struct Embedding and Composition Reuse fields and methods by embedding one struct in another.
- Leçon 1 défi Temperature Converter Convert between Celsius and Fahrenheit with your own number types.
- Leçon 2 défis Error Handling Return errors as values, wrap them with context and check them with errors.Is and errors.As.
- Leçon 1 défi Bank Account with Errors Model deposits and withdrawals that can fail with your own error types.
- Leçon 1 défi Generics Write one function or type that works with many types using type parameters.