Ancestors

Written by Matthias Endler on 2025-01-21 at 14:13

Expressions are undervalued in Rust!

Couldn't find a good teaching resource about what makes them so awesome... so I wrote one.

https://corrode.dev/blog/expressions/

Feedback welcome.

[#]rustlang #rust

=> More informations about this toot | More toots from mre@mastodon.social

Written by bartosz 🚲🌳🐍 on 2025-01-21 at 14:39

@mre Thanks for the sharing. I like the match arm guards.

=> More informations about this toot | More toots from btel@mastodon.social

Written by Matthias Endler on 2025-01-21 at 14:52

@btel yeah, I want to write another one on pattern matching specifically. Really hard to find good resources beyond the basics.

=> More informations about this toot | More toots from mre@mastodon.social

Written by bartosz 🚲🌳🐍 on 2025-01-21 at 14:58

@mre cool, I am looking forward to it. Btw it might be useful to provide links to playground with the examples do one can play with them. Here's what I tried : https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e433aba990622c9c88d7947317370adb

=> More informations about this toot | More toots from btel@mastodon.social

Toot

Written by Matthias Endler on 2025-01-21 at 16:28

@btel yes, I do that from time to time, but I need to get more consistent with it.

=> More informations about this toot | More toots from mre@mastodon.social

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113867287264901010
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
346.779618 milliseconds
Gemini-to-HTML Time
0.835503 milliseconds

This content has been proxied by September (3851b).