|
|
|
|
|
by karatestomp
2289 days ago
|
|
> That's amazing. I was just scratching my head about const when I read the article, "so what's the purpose if I can change the value... but I guess I can't re-assign the variable with a new value .... that's it?" If the value is a primitive, you can't change it. If the value's a reference you also can't change that, but of course you can modify whatever that points to. Is that what's bugging people about this? |
|