Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


HPR3681: Rust 101 Episode 3: Functionally Insane

Hosted by BlacKernel on 2022-09-12 00:00:00
Download or Listen

In this episode BlacKernel is back! (Although a lot more loopy than I remember being while recording)

And teaching you how to make functions, for loops, and match statements in Rust.

Points covered in this episode:

  • isize and usize number types in rust
  • fn (function) declarations with arguments and return types
  • match statements both bare and part of variable assignment
  • for _ in 1..x loops. That is for loops over an iterator variable across a range of integers.

Email: izzyleibowitz@pm.me
Mastodon: https://nixnet.social/BlacKernel

Comments



More Information...


Copyright Information

Unless otherwise stated, our shows are released under a Creative Commons Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license.

The HPR Website Design is released to the Public Domain.