The Case Against Autodecode
Timon Gehr via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 2 06:28:37 PDT 2016
On 02.06.2016 15:06, Andrei Alexandrescu wrote:
> On 06/02/2016 06:42 AM, ZombineDev wrote:
>> On Wednesday, 1 June 2016 at 22:24:49 UTC, Andrei Alexandrescu wrote:
>>> On 06/01/2016 06:09 PM, ZombineDev wrote:
>>>> Regardless of how different people may call it, it's not what this
>>>> thread is about.
>>>
>>> Yes, definitely - but then again we can't after each invalidated claim
>>> to go "yeah well but that other point stands".
>>
>> My claim was not invalidated. I just didn't want to waste time arguing
>> about it, because it is off topic. My point was that foreach is a purely
>> language construct that doesn't know about the std.range.primitives
>> module, therefore doesn't use it and therefore foreach doesn't perform
>> **auto**decoding. It does perform explicit decoding because you need to
>> specify a different type of iteration variable to trigger the behavior.
>> If the variable type is not specified, you won't get any decoding (it
>> will instead iterate over the code units).
>
> Your claim was obliterated, and now you continue arguing it by adjusting
> term definitions on the fly, while at the same time awesomely claiming
> to choose the high road by not wasting time to argue it. I should
> remember the trick :o). Stand with the points that stand, own those that
> don't.
It's not "on the fly". You two were presumably using different
definitions of terms all along.
More information about the Digitalmars-d
mailing list