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
@mre Wow, I'm about half way through and your article is incredibly helpful! I didn't check yet, do you have more?
Great job!
=> More informations about this toot | More toots from MikeWallaceDev@hachyderm.io
@MikeWallaceDev oh, that's great to hear! I focus in idiomatic Rust and industry insights exclusively on the company blog, so after reading, you might skim through the list here: https://corrode.dev/blog/
Let me know if anything is missing. New articles coming up as well.
=> More informations about this toot | More toots from mre@mastodon.social
@mre Thanks for the sharing. I like the match arm guards.
=> More informations about this toot | More toots from btel@mastodon.social
@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
@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
@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
@mre I find your blog very informative and interesting. Thanks for your work.
=> More informations about this toot | More toots from mkouhia@mastodontti.fi
@mkouhia much appreciated.
=> More informations about this toot | More toots from mre@mastodon.social
@mre I talked about expressions a bit in From Perl to Rust. I guess I'm guilty of exaggerating.
https://oylenshpeegul.gitlab.io/from-perl-to-rust/control_flow.html
=> More informations about this toot | More toots from oylenshpeegul@mastodon.social
@oylenshpeegul neat, I'll take a look
=> More informations about this toot | More toots from mre@mastodon.social
@mre your posts are always so good!
=> More informations about this toot | More toots from jmsdnns@mastodon.social
@mre That is an awesome article! (I mostly write in Kotlin, but the general idea is equally applicable.)
=> More informations about this toot | More toots from henrikjernevad@mastodon.social
@henrikjernevad thanks for the feedback!
=> More informations about this toot | More toots from mre@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini