Module show_notes::e012
source · Expand description
I’m not familiar with that expression
- Date: March 21, 2016
- Subject: What it means to be an expression-oriented language, and how that works out in Rust.
- Audio
§Notes
Rust is an expression-oriented language. What does that mean, and how does
it play out in Rust? We look at if
and match
blocks, discuss looping
constructs, and examine functions, and then widen out to discuss how having
an expression-oriented language can change the way we think about
programming.
§Links
- Redox
- Servo alpha announcement
- WebRender
- Wired article on Dropbox
- Rust documentation on expression-oriented-ness:
- Removing Rust ternary
- Digits of pi necessary for astronavigation
§Sponsors
- Aleksey Pirogov
- Chris Palmer
- Derek Morr
- Hamza Sheikh
- Lachlan Collins
- Leif Arne Storset
- Luca Schmid
- Micael Bergeron
- Pascal
- Ralph Giles (“rillian”)
- Ralph “FriarTech” Loizzo
- reddraggone9
- Ryan Ollos
- William Roe
§Become a sponsor
§Contact
- New Rustacean:
- Twitter: @newrustacean
- Email: hello@newrustacean.com
- Chris Krycho
- GitHub: chriskrycho
- Twitter: @chriskrycho
Enums§
Functions§
- Functions are expressions, and so are their contents.
- Like functions, if blocks are expressions.
- Match blocks are also expressions.
- Block blocks are also expressions!