3 ms·
That wasn't exactly what I meant. What I meant was - as of right now they are different, and clearly distinct, and it's actually important to unlearn thinking
by JulianMorrison 5y ago
That wasn't exactly what I meant. What I meant was
- as of right now they are different, and clearly distinct, and it's actually important to unlearn thinking of a const as a var, because they don't do the same thing in practical terms
- that proposal would muddy the distinction.
- tapirl 5y agoYes, they are different, const values doesn't allocated in memory NOW. But who cares? Most gophers just think const values are immutable values. I mean we could let some const values allocated in memory.
- JulianMorrison 5y agoThankfully the people who make Go do care about conceptual muddles.