lua-users home
lua-l archive

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


On Thu, 20 Jan 2011, David Manura wrote:
>
> Using '#' as a comment character is problematic in Lua because Lua
> already uses it as a table length operator:

This (and the perpetual flamewar) would not be a problem if # was removed
:-)

> BTW, I'm not entirely fond of Lua's "linenoise" block comments --[=[
> ]=] relative to [1].

http://lpar.ath0.com/2010/12/31/multi-line-comments-considered-harmful/

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
HUMBER THAMES DOVER WIGHT PORTLAND: NORTH BACKING WEST OR NORTHWEST, 5 TO 7,
DECREASING 4 OR 5, OCCASIONALLY 6 LATER IN HUMBER AND THAMES. MODERATE OR
ROUGH. RAIN THEN FAIR. GOOD.