[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Some small requests for the next release
- From: Mark Hamburg <mhamburg@...>
- Date: Fri, 25 Feb 2005 09:14:24 -0800
on 2/25/05 3:59 AM, PA at email@example.com wrote:
> Along the same line of though... I would rather see the colon notation
> deprecated all together... as it doesn't add anything which cannot be
> done with the regular syntax... plus it introduce inconsistency and
> confusion in Lua's core libraries... e.g. io seems to gratuitously
> favor the colon notation while all the other core libraries stick with
> the dot...
The colon saves you from double evaluation of the receiver or creating your
own temporary variable.