Multiple return values...
H. S. Teoh
hsteoh at quickfur.ath.cx
Fri Mar 9 10:33:58 PST 2012
On Fri, Mar 09, 2012 at 07:16:19PM +0100, Timon Gehr wrote:
[...]
> Another issue is that people would complain about auto-flattening all
> the time once built-in tuples get more accessible, even though it is
> not actually a problem. It would be just due to the fact that it does
> not occur in most other popular programming languages.
[...]
Perl auto-flattens lists. To prevent auto-flattening you have to
explicitly take an array reference. But yeah, most other languages
don't.
T
--
Real Programmers use "cat > a.out".
More information about the Digitalmars-d
mailing list