bearophile <[email protected]> wrote:
I think for a newcomer the most difficult part is related to tuples:
* find them (in std.typecons!!!)
* catch after much time, pains, research, they should not even try to
construct a tuple using Tuple!, but using the convenience tuple() func
instead.
I agree that like dynamic arrays, tuples are better as built-ins, in D
too. Another very useful thing is tuple unpacking syntax:
http://d.puremagic.com/issues/show_bug.cgi?id=4579
And if not necessarily being built-ins, they are useful enough to warrant
inclusion in object.d rather than std.typecons.
--
Simen