3
Idiomatic Rust: Part 2 (a-i-nstein.neocities.org)
top 1 comments
sorted by: hot top controversial new old
[-] floofloof@lemmy.ca 2 points 1 week ago* (last edited 1 week ago)

I never really liked that kind of use of variable shadowing. It seems like swapping one set of potential risks, that are easily spotted when debugging, for another more subtle kind of risk that's harder to notice.

this post was submitted on 22 Mar 2025
3 points (100.0% liked)

Hacker News

1116 readers
302 users here now

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

founded 6 months ago
MODERATORS