[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to support '//' as lua's one line comment identifier?
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 21 Jan 2011 10:01:05 +0200
On Fri, Jan 21, 2011 at 9:17 AM, Axel Kittenberger <axkibe@gmail.com> wrote:
> My 2 cents, as an inteligent modern engineer one should be a bit flexible.
> I coded a decade pure C before trying Lua, '--' felt strange for a few
> hours but then it was gone.
Yes, I used to think that C++ could do everything, and that everything
should look like C++ ;)
But I find it _useful_ that Lua does not look like C/C++; it makes me
load the necessary mental modules.
It is possible to make Lua look like a C-style bracket language. But
then that mental shift is harder. Worse, you might think you were
working in JavaScript and have some very weird surprises!
steve d.