Dealing with Autodecode
Nick Sabalausky via Digitalmars-d
digitalmars-d at puremagic.com
Tue May 31 19:39:55 PDT 2016
On 05/31/2016 09:36 PM, Adam D. Ruppe wrote:
>
> version(string_migration)
> deprecated void popFront(T)(ref T t) if(isSomeString!T) {
> static assert(0, "this is crap, fix your code.");
> }
> else
> deprecated("use -versionstring_migration to fix your buggy code, would
> you like to know more?")
> /* existing popFront here */
>
I vote we use Adam's exact verbiage, too! :)
>
> D USERS **WANT** BREAKING CHANGES THAT INCREASE OVERALL CODE QUALITY
> WITH A SIMPLE MIGRATION PATH!!!!!!!!!!!!!!!!!!!!
>
Yes. This. If I wanted an endless bucket of baggage, I'd have stuck with
C++.
> 3) A wee bit longer, we exterminate all this autodecoding crap and enjoy
> Phobos being a smaller, more efficient library.
>
Yay! Profit!
More information about the Digitalmars-d
mailing list