Whither Tango?
Michel Fortin
michel.fortin at michelf.com
Sat Feb 20 12:16:14 PST 2010
On 2010-02-20 11:04:36 -0500, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> said:
> "iota" is already present with the same semantics in 1.25 languages:
> C++ and Go. Anyhow, what's a better name?
"iota" is perhaps a silly looking name, but at least you're not bound
to confuse it with something else. It's always better to have names you
don't understand (forcing you to look at the doc) than names you
understand subtly wrong (which might introduce bugs).
The best way to get rid of iota would be to replace it with the same
syntax the language already use elsewhere:
1..10
Like ruby does with its range operator[^1]. But that's not so simple as
changing a name...
[^1]: http://ruby-doc.org/core/classes/Range.html
--
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/
More information about the Digitalmars-d
mailing list