in reply to const correctness
What does const-correctness mean in a dynamically-typed language where a read reference to a never-knowingly-mutated variable in a different context to its origin, numeric vs. string or vice versa, can cause its internal state to mutate? And is it worth giving up dynamic typing for? If so, why? What does it buy you?
|
|---|