[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: settag again
- From: Reuben Thomas <rrt@...>
- Date: Fri, 4 Jan 2002 14:42:53 +0000 (GMT)
> The reason is just for the idiom:
> c=settag({},newtag())
> which creates a new table and gives it a new tag at the same time.
That's useful, but confusing: it's not obvious that c becomes a table
rather than a tag. There's one place in my standard library where I could
use that idiom, but prefer not to:
settag(t, tag) return t
instead of
return settag(t, tag)
--
http://sc3d.org/rrt/ | Careful Cyclists Approaching From Right