- Ejecutores
-
Aprender
Aprender Python Ejemplos ejecutables, NumPy, pandas y más Aprender IARedes neuronales, ML y LLM desde cero Aprender C y C++ Punteros, memoria, STL y C++ moderno Aprender C#Fundamentos, POO, LINQ, async y ejercicios de .NET Aprender MatplotlibGráficos de líneas, barras, dispersión y sectores con visualizadores Aprender RustOwnership, traits, manejo de errores e hilos Aprender GoSlices, interfaces, goroutines y canales Algoritmos en Python Búsqueda, ordenación, recursión y visualizadores O(n) Algoritmos en C y C++ Compara implementaciones en C y C++ Programación para niños ¡Aprende a programar jugando!
- RetosNuevo
- Para docentesNuevo
- Actualizaciones
- Invítame a un café
Structs e interfaces
Structs, métodos, punteros, interfaces, embedding, errores y genéricos.
- Lección 1 reto Structs Group related values into your own type with named fields.
- Lección 2 retos Methods and Receivers Attach functions to a type and choose between value and pointer receivers.
- Lección 2 retos Pointers Use & and * to share a value instead of copying it.
- Lección 2 retos Interfaces Describe behavior with an interface that any type can satisfy.
- Lección 2 retos Struct Embedding and Composition Reuse fields and methods by embedding one struct in another.
- Lección 1 reto Temperature Converter Convert between Celsius and Fahrenheit with your own number types.
- Lección 2 retos Error Handling Return errors as values, wrap them with context and check them with errors.Is and errors.As.
- Lección 1 reto Bank Account with Errors Model deposits and withdrawals that can fail with your own error types.
- Lección 1 reto Generics Write one function or type that works with many types using type parameters.