Toot

Written by Giooschi@lemmy.world on 2024-10-28 at 07:14

You dont write code like this in rust.

I perfectly agree, that would be horrible code! I would generally try to restructure my code, making it better fit the actual lifetimes of the data I’m working with. The point in the article is that you can’t really escape from this. I’m not arguing this is a real problem, and I don’t think the article is neither, just pointing out that this is something you can easily do in C# and not in Rust. It’s just a difference between the two languages.

=> More informations about this toot | View the thread | More toots from Giooschi@lemmy.world

Mentions

=> View nous@programming.dev profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113383810189965546
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
234.019109 milliseconds
Gemini-to-HTML Time
0.385243 milliseconds

This content has been proxied by September (ba2dc).