Re: Adding several methamethods could be helpful
[
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: 2011年3月27日 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