Y
Hacker News
new
|
ask
|
show
|
jobs
by
agumonkey
4039 days ago
Isn't that a typical "corner case" in the understanding of dynamic languages bindings ? I think I've seen the same question pop about python. The array binding is constant, its content isn't.
1 comments
EugeneOZ
4039 days ago
if value of constant can be changed, it's not constant. In my understanding. And by Wikipedia:
http://en.wikipedia.org/wiki/Constant_(computer_programming)
link
agumonkey
4039 days ago
That's typical computer lingo / semantic issue. the `const` mean shallow/pointer constant, not deep/structurally constant.
link