lua-users home
lua-l archive

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


David Manura <dm.lua@math2.org> writes:

> On Thu, Jul 1, 2010 at 5:18 PM, liam mail <liam.list@googlemail.com> wrote:
>> If I were to be totally honest the thing which I dislike most about Lua is
>> the keyword 'local', I dislike typing it over and over again and that the
>> fact the default scope is global. Having edited third party code, it also
>> seems to encourage the use of the globals although this is not to say that
>> the same authors would have used scoped variables in other languages.
>
> The "Huffman encoding" language design principle in Perl says that
> common operations should have shorter syntax than less common
> operations.

So if Perl did not look like line noise, it would be a sign that this
design principle was not yet fully heeded.

-- 
David Kastrup