Syntax and redundancy
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Syntax and redundancy
- From: Gavin Wraith <gavin@...>
- Date: 2005年8月27日 16:55:29 +0100
I quite like the modest tincture of redundancy in
Lua's syntax. In fact I have a habit of decorating
the one-serves-all 'end' with a comment:
end -- if, end -- while, end -- function, end -- do.
I would not have objected if each kind of 'end' had
been given its own token, or would that have been
too reminiscent of prim old Pascal?
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/