[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Error Text Suggestion for coroutine.status in 5.3
- From: Thijs Schreijer <thijs@...>
- Date: Fri, 29 Aug 2014 08:21:53 +0000
> -----Original Message-----
> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On
> Behalf Of Dirk Laurie
> Sent: vrijdag 29 augustus 2014 9:34
> To: Lua mailing list
> Subject: Re: Error Text Suggestion for coroutine.status in 5.3
>
> 2014-08-29 9:23 GMT+02:00 Coroutines <coroutines@gmail.com>:
> > On Fri, Aug 29, 2014 at 12:19 AM, Dirk Laurie <dirk.laurie@gmail.com>
> wrote:
> >
> >> And I would like to see "bike shed" replaced by "velocipede depot" :-)
> >
> > I wonder if the bike shed argument has ever been used on this list to
> > a productive end -- instead of being dismissive and a waste of my mail
> > quota.
>
> Maybe I should have reminded readers that a proposal to change
> lua_State to lua_Thread or whatever is also on the table.
>
> If we go along this road, then the "table" library should become
> the "sequence" library,
>
> There should be one and only one reason ever to change a name:
> because the new name is used for something different.
Not necessarily. The examples shown (coroutine/thread and lua_State) are pure legacy, if not now, then sometime in the future you'll have to clean that up, simply because over time you'll be accumulating more and more. And even then backward compatibility is only one #define away (for the c api at least)
Thijs