This is the course header. This will be added on top of every page. Go to DoDAO.io to know more.
This chapter talks in-depth about the conditional statements, for and while loops, functions in rust, and Error handling.
- Conditional Statements
- If-Else statements
- Nested If-Else, nested If statements
- Match, pattern matching
- Loops
- For Loops a. Nested for loops, range-based for loops
- While Loops
- Functions
- Parameters, Statements
- Functions with Return Values
- Error Handling
- Recoverable Errors a. Option b. Result
- Combinators a. Using combinators on Options and Results b. Conversion between Options and Results
- Early Returns and "?" operator
- Non-recoverable errors a. Panics
- Custom Errors