[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Adding several methamethods could be helpful
- From: Dirk Laurie <dpl@...>
- Date: Sun, 27 Mar 2011 10:18:52 +0200
On Sat, Mar 26, 2011 at 11:54:38PM +0200, Rebel Neurofog wrote:
>
> My suggestion is about implementing '*=', '/=', '-=', '+=', '%=' and
> '^=' operations for user data and tables only.
> I would name that "__mulself", "__divself", "__subself", "__addself",
> "__modself" and "__powself".
>
...
> Lua must not turn into messy thing like Python.
>
> What do you think?
>
I agree with your last sentence, and therefore not with your suggestion.
Obfuscating operators are messy.
Dirk