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?
In reply to Re: const correctness
by BrowserUk
in thread const correctness
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |