/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
John Carmack on mutable variables
(twitter.com)
498 points
azhenley
| 4 comments |
31 Oct 25 02:34 UTC
|
HN request time: 0.992s
|
source
1.
cfontes
◴[
31 Oct 25 11:32 UTC
]
No.
45770866
[source]
▶
>>45767725 (OP)
#
He will like RUST very much.
replies(1):
>>45770949
#
ID:
GO
2.
galangalalgol
◴[
31 Oct 25 11:44 UTC
]
No.
45770949
[source]
▶
>>45770866 (TP)
#
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
#
3.
metaltyphoon
◴[
31 Oct 25 13:18 UTC
]
No.
45771678
[source]
▶
>>45770949
#
> 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
#
4.
galangalalgol
◴[
31 Oct 25 15:51 UTC
]
No.
45773453
{3}
[source]
▶
>>45771678
#
There isn't an enforced one, and the opinion is bifurcated, but I regularly find crates that clearly treat this as idiomatic practice.
↑