lua-users home
lua-l archive

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



Give them a break.. :)

It's only for the special case when --[[ won't do, like recursive comments or so. Personally, I'd like the C++ style comments the one guy (sorry - you probably had a name ;P) suggested.

I trust the cooks of Lua, they've served us well..

-ak

18.6.2004 kello 20:37, Bruce Dodson kirjoitti:

     --[*[ this seems ridiculous ]*]--

I agree.  Anyone who tries to type that on a standard QUERT
keyboard will agree, that is not only ugly, it's cumbersome
to type.  But I take it from the archive,
http://lua-users.org/lists/lua-l/2003-11/msg00301.html, that
this new form also applies to strings, and that this is the
reason it could not be something simpler like --[[* *]]:
there are cases where the -- is not part of the token.

I would really suggest changing the middle token to
something else closer to the brackets on the keyboard, like
"|" or "=" rather than "*".  This will not make it prettier
or easier to syntax-highlight, but it would at least make it
typeable.  Maybe Brazilian keyboards are different.

Bruce