Re:John Carmack on Mutable Variables
by Fire-Dragon-DoL on Friday October 31, 2025 @03:18AM
(#45769193)
In typescript and js you get immutable references, but the data is mutable. Definitely not the same thing
[ Parent
| on HN ]
You have `as const`. Yes I know it's not enforced at runtime, but the type system does support it.