Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr3681 :: Rust 101 Episode 3: Functionally Insane

In this episode BlacKernel teaches you how to make functions and for loops in rust

<< First, < Previous, , Latest >>

Hosted by BlacKernel on 2022-09-12 is flagged as Explicit and is released under a CC-BY-SA license.
rust, for loop, for, match, functions, loops, usize, isize, programming, tutorial.
Listen in ogg, spx, or mp3 format. | Comments (0).

Programming 101.

A series focusing on concepts and the basics of programming

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

Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?