No More Nulls
Subject: Enumerated (enum) types, pattern matching, and meaningful return types.
Notes Today’s episode discusses, in order:
enums in C and in Rust.switch blocks in C-like languages.Option and Result enumerated types with pattern matching to provide meaningful returns from functions safely.Order
There is a specific order to the examples below, and it is not the automatically-alphabetized order rendered by rustdoc. Instead, you should work through in the sequence they appear in the source:
Links * New Rustacean Pull Request #1 * Work on IDE support! + Landing page + My chosen tool: JetBrains/IntelliJ * Rustlings * Rust FFI Omnibus
Follow/Support * New Rustacean: + Twitter: @newrustacean + App.net: @newrustacean + Patreon + Email: hello at newrustacean dot com * Chris Krycho + Twitter: @chriskrycho + App.net: @chriskrycho