[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: When is multiple assignment good style?
- From: Francisco Olarte <folarte@...>
- Date: Thu, 16 Mar 2017 13:44:26 +0100
On Thu, Mar 16, 2017 at 1:39 PM, steve donovan
> 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.