←back to thread

498 points azhenley | 2 comments | | HN request time: 0.001s | source
Show context
cfontes ◴[] No.45770866[source]
He will like RUST very much.
replies(1): >>45770949 #
galangalalgol ◴[] No.45770949[source]
Carmack had said he likes rust, he just isn't a language zealot. In rust though, the idiom would be to shadow intermediate variables often, which removes the debugger benefit.
replies(1): >>45771678 #
1. metaltyphoon ◴[] No.45771678[source]
> the idiom would be to shadow intermediate variables often

There is no idiom about this. Do it if you like but clipply doesn't warn about any of it.

replies(1): >>45773453 #
2. galangalalgol ◴[] No.45773453[source]
There isn't an enforced one, and the opinion is bifurcated, but I regularly find crates that clearly treat this as idiomatic practice.