Upgrading a codebase from 2.065 to 2.066
bearophile via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jul 2 16:20:04 PDT 2014
H. S. Teoh:
> This may not be practical if your codebase is production, and
> relies on
> the compiler being (relatively) stable. Sometimes things break
> in a
> major way on git HEAD in between releases and get fixed later,
> so you
> might end up spending unnecessary effort to make your code
> compile every
> few git revisions.
I stopped updating my code only at compiler releases because
fixing hundreds of things at the same time (of many different
kinds) was too much hard for me.
> You don't need to refer to
> the type of the element in order to get its .init value.
Right.
So, is it possible and a good idea to fix AA.get so the natural
code "get(0, [])" works?
Bye,
bearophile
More information about the Digitalmars-d
mailing list