lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2014-11-18 10:16 GMT+02:00 Tim Hill <drtimhill@gmail.com>:

>> On Nov 17, 2014, at 10:29 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>>
>> 2014-11-18 6:11 GMT+02:00 Tim Hill <drtimhill@gmail.com>:
>>
>>> Now, I know what is going on, and you know what is going on.
>>> But does the average scripter know?
>>
>> Does the average scripter know what is going on with
>> metamethods, coroutines, the call stack, upvalues etc?
>>
>> Some things in Lua are hard merely because the
>> underlying computer science concept is hard.
> And your point is?

That arguments based on how "the average scripter" or
"newbies" would react are not relevant for Lua. Maybe
for Basic or Logo, but not Lua.

Lua is a highly sophisticated all-purpose language, not
particularly convenient for scripting (e.g. os.execute and
io.popen need to be invoked explicitly, no syntactic sugar).
Lua 5.3 beta has moved strongly in the direction of greater
awareness of hardware features: just look at §6.4.2, which
speaks of alignment, endianness, size_t etc assuming that
the reader knows what is going on.