Stupid little iota of an idea
Andrej Mitrovic
andrej.mitrovich at gmail.com
Fri Feb 11 11:31:58 PST 2011
On 2/11/11, Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> On 2/10/11 8:28 PM, Andrej Mitrovic wrote:
>> What the hell does "to!" have to do with anything. Disregard my last
>> post, it's obviously 3 AM and I'm talking gibberish.
>>
>> In any case,
>> alias iota range;
>>
>> Problem solved for me!
>
> Aside from the fact that "range" has another meaning in D, the word does
> not convey the notion that iota adds incremental steps to move from one
> number to another. "Iota" does convey that notion.
>
> Andrei
>
So why does Python use it?
It seems Go uses iota, but for something different:
http://golang.org/doc/go_spec.html#Iota
That's rather ugly imo. But that's Go. :)
More information about the Digitalmars-d
mailing list