[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: A bit of food for thought, hopefully. Was Re: Ambiguous Syntax
- From: "Peter Prade" <Peter.Prade@...>
- Date: Wed, 15 Jan 2003 12:15:55 +0100
> Currently, the only allowed forms are:
> f (blah)
> f {blah}
> f "blah"
> although it could easily be extended to take the other atomic constants
> f 123
> f nil
> f true
> f false
> without any problem.
well maybe without technical problems.
but imho the latter forms are much less readable, so they would create
problems in reading lua code.
(i think already the syntax f"" instead of f("") is worse to read, so i
don't tell my users about it ;-)
Cheers,
Peter Prade