D's greatest mistakes

bearophile bearophileHUGS at lycos.com
Tue Nov 30 14:19:52 PST 2010


Michel Fortin:

> I wonder how you determined it was "rare in practice". My attempts at 
> using const and immutable with objects had Rebindable everywhere.

I agree that in my code with many object references that uses const/immutable everywhere possible, the desire to use Rebindable is not rare. If you don't write object oriented code, or if you don't use const/immutable much, then the need to use Rebindable is not common.

Bye,
bearophile


More information about the Digitalmars-d mailing list