- 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, enums y traits
Modela datos con structs y enums, compara patrones, maneja Option y Result, y comparte comportamiento con traits y genéricos.
Probar Rust online8 lecciones
Methods and impl Blocks
Attach functions to a struct with impl, including constructors.
Ver lección →Pattern Matching with match
Compare a value against patterns with match, guards and if let.
Ver lección →Option: Values That May Be Missing
Represent a missing value with Option instead of null.
Ver lección →Error Handling with Result
Return errors as values with Result and pass them on with the ? operator.
Ver lección →