- Executores
-
Aprender
Aprender Python Exemplos executáveis, NumPy, pandas e mais Aprender IARedes neurais, ML e LLMs do zero Aprender C e C++ Ponteiros, memória, STL e C++ moderno Aprender C#Fundamentos, POO, LINQ, async e exercícios .NET Aprender MatplotlibGráficos de linha, barras, dispersão e pizza com visualizadores Aprender RustOwnership, traits, tratamento de erros e threads Aprender GoSlices, interfaces, goroutines e channels Algoritmos em Python Busca, ordenação, recursão e visualizações O(n) Algoritmos em C e C++ Compare implementações em C e C++ Programação para crianças Aprenda a programar brincando!
- DesafiosNovo
- Para professoresNovo
- Atualizações
- Me pague um café
Structs e interfaces
Structs, métodos, ponteiros, interfaces, embedding, erros e genéricos.
- Lição 1 desafio Structs Group related values into your own type with named fields.
- Lição 2 desafios Methods and Receivers Attach functions to a type and choose between value and pointer receivers.
- Lição 2 desafios Pointers Use & and * to share a value instead of copying it.
- Lição 2 desafios Interfaces Describe behavior with an interface that any type can satisfy.
- Lição 2 desafios Struct Embedding and Composition Reuse fields and methods by embedding one struct in another.
- Lição 1 desafio Temperature Converter Convert between Celsius and Fahrenheit with your own number types.
- Lição 2 desafios Error Handling Return errors as values, wrap them with context and check them with errors.Is and errors.As.
- Lição 1 desafio Bank Account with Errors Model deposits and withdrawals that can fail with your own error types.
- Lição 1 desafio Generics Write one function or type that works with many types using type parameters.