lua-users home
lua-l archive

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

On Fri, Jan 7, 2022 at 11:01 AM Lorenzo Donati wrote:
"// 1" producing an integer goes
against the principle of least surprise

IMO, the least surprise here would be to treat // as a one-line comment  ;-)
After many years of programming in Pascal I failed to convince my brains that // might be an arithmetic operator.
People with a C background should feel the same :-)