const assignments problem again

Kagamin spam at here.lot
Sun Aug 7 01:40:52 PDT 2011


bearophile Wrote:

> - And foo can't be const or immutable, I don't like this.

I suppose accidental overwrite bugs are overrated. I have never seen them even from evil programmers. If you write random code, overwrite is not your only problem, you can as well read wrong variable or call wrong function. No language will help you if your code is junk. You should fix this in a different way.


More information about the Digitalmars-d mailing list