[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Tuples and other constant values
- From: Dirk Laurie <dirk.laurie@...>
- Date: Wed, 8 Jul 2015 10:43:28 +0200
2015-07-07 0:13 GMT+02:00 Coda Highland <chighland@gmail.com>:
> A large proportion of the tuple users I've met are Python converts.
2015-07-08 2:34 GMT+02:00 Tim Hill <drtimhill@gmail.com>:
> You can think of them as an aggregate constant.
Very well put.
I'll confess to being an apostate from Python myself, but this is not
really a Python thing. Even C89 has constant arrays (ie tuples) and
structures (ie aggregate constants).
The main reason why aggregate constants would be nice to have in
Lua is that more lurking bugs can be caught at compile time.
- References:
- Tuples and other constant values, Dirk Laurie
- Re: Tuples and other constant values, Cosmin Apreutesei
- Re: Tuples and other constant values, Coda Highland
- Re: Tuples and other constant values, Cosmin Apreutesei
- Re: Tuples and other constant values, Tim Hill
- Re: Tuples and other constant values, Coda Highland
- Re: Tuples and other constant values, Tim Hill
- Re: Tuples and other constant values, Jay Carlson
- Re: Tuples and other constant values, Daurnimator
- Re: Tuples and other constant values, Tim Hill