[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: When is multiple assignment good style?
- From: Francisco Olarte <folarte@...>
- Date: Thu, 16 Mar 2017 13:44:26 +0100
Steve:
On Thu, Mar 16, 2017 at 1:39 PM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> I think I'm a sinner then - because I have a compulsion to rename
> table.insert as append! Mostly because the word 'insert' sets up an
> argument in my head ;)
I hope you just alias ( keep the insert name ), because otherwise when
you need "table.insert(list, 1, new_head)" append gets really ugly.
Francisco Olarte.