Dealing with Autodecode

Guillaume Chatelet via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 1 01:21:36 PDT 2016


On Wednesday, 1 June 2016 at 01:36:43 UTC, Adam D. Ruppe wrote:
> I have a better one, that we discussed on IRC last night:
>
> 1) put the string overloads for front and popFront on a version 
> switch:
>
> D USERS **WANT** BREAKING CHANGES THAT INCREASE OVERALL CODE 
> QUALITY WITH A SIMPLE MIGRATION PATH!!!!!!!!!!!!!!!!!!!!
>
> 2) After a while, we swap the version conditions, so opting 
> into it preserves the old behavior for a while.
>
> 3) A wee bit longer, we exterminate all this autodecoding crap 
> and enjoy Phobos being a smaller, more efficient library.

+1


More information about the Digitalmars-d mailing list