Clojure and Pull Request Controversy

Nicholas Wilson iamthewilsonator at hotmail.com
Fri Nov 30 00:31:55 UTC 2018


On Thursday, 29 November 2018 at 14:58:49 UTC, Steven 
Schveighoffer wrote:
> On 11/29/18 9:11 AM, Nicholas Wilson wrote:
>> I think deprecating the auto decoding free functions with a 
>> message to use `.byChar`, `.byDchar`,`.representation` etc. is 
>> really the _only_ practical way forward on this. Yes its slow 
>> but it won't cause any breakage. Certainly not silent 
>> breakage, deprecation being rather noisy.
>
> When I have free time, I'm going to do all this shit. I'm so 
> sick of autodecoding, and I have a feeling it will break so 
> little code*, that we are wringing our hands over nothing.
>
> -Steve
>
> * The big irony of autodecoding is that literally most of 
> Phobos SPECIFICALLY avoids autodecoding carefully because it's 
> such a performance problem. Removing autodecoding will still 
> work with such workarounds.

Hooray!

I think adding a version like `Phobos_NoAutodecode` so it could 
be tested with https://git.ikeran.org/dhasenan/dubautotester and 
people can opt in to it, in parallel with deprecating the auto 
decoding `front/popFront`.


More information about the Digitalmars-d mailing list