←back to thread

498 points azhenley | 1 comments | | HN request time: 0.232s | source
Show context
gethly ◴[] No.45769775[source]
Variable is by definition mutable.

Constant is by definition immutable.

Why can't people get it through their heads in 2025? (I'm looking at you, Rust)

replies(4): >>45769884 #>>45769977 #>>45770214 #>>45770314 #
1. gf000 ◴[] No.45770214[source]
What about the result of a computation within a giant algorithm that I decided to name, and don't plan on rewriting it anymore?

That's surely not a constant like PI, is it?