Re:John Carmack on Mutable Variables
by Denvercoder9 on Friday October 31, 2025 @03:48AM
(#45769329)
It also has the ability to style mutated variables differently.
[ Parent
| on HN ]
Yes, depending on your highlighting scheme. Not every highlighting scheme shows this by default, unfortunately.
To me, this seems initially like some very minor thing, but I find this very helpful working with non-trivial code. For larger methods you can directly discern whether a not-as-immutable-declared variable behaves immutable nonetheless.