lua-users home
lua-l archive

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

On Sun, Dec 16, 2018 at 1:50 PM Egor Skriptunoff
<> wrote:
> Hi!
> What do you think about the following suggestion?
> Let's introduce special "ignore me" symbol in Lua syntax.
> (The description below assumes this symbol is the backtick)

I disagree with introducing special meaning to consecutive such
symbols. If they're supposed to be "ignore me" symbols then they
should be, y'know, ignored. Which means the second one should be
ignored the same as the first one.

As other posters have mentioned, it also makes a mess when you start
combining the various kinds, and while it's true that you just
"shouldn't do that" it also seems like something designed to improve
readability shouldn't be a tool to make it worse. We have line and
block comments for that, despite your assertion that you don't intend
it to be used that way.

If we want an annotation syntax, then we should ask for an annotation
syntax, and ideally it should resemble something that people already
recognize as an annotation syntax.

/s/ Adam