News for hackers. Stuff that matters.
Re:John Carmack on Mutable Variables by munificent on Friday October 31, 2025 @12:51PM (#45774112)
"Constant" is ambiguous. Depending on who you ask, it can mean either:

1. A property known at compile time.

2. A property that can't change after being initially computed.

Many of the benefits of immutability accrue properties whose values are only known at runtime but which are still known to not change after that point.

Re:John Carmack on Mutable Variables by throwaway2037 on Monday November 03, 2025 @11:19AM (#45800721)
DotNet/C# makes this distinction in the form of (1) const and (2) readonly.