lua-users home
lua-l archive

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


Ben,

For my part, I am not asking anyone to turn Lua into C/C++. I'm suggesting 
small changes to syntax to make it more consistent with how we already 
think. It is amazing how little nits like -- versus //  or ~= versus != can 
make something easy to use or an annoyance to use. If the vast majority of 
people using Lua come from the C/C++ lineage then they're going to find the 
current syntax a nuisance.

Michael


On Wed, 25 Jan 2006 10:54:01 -0800, Ben Sunshine-Hill wrote
> On 1/25/06, Walter Cruz <walter.php@gmail.com> wrote:
> > What about a switch statement too ?
> >
> > Sometimes is boring put if, else if, else if, else if :)
> >
> >
> > []'s
> > - Walter
> >
> 
> Yeah! And pointers, and pointer arithmetic, and a "transpose" 
> operator and a "complex conjugate" operator, and partial template 
> specialization. Ooh, and a weeird operator that sometimes tells you 
> the length of a string and sometimes tells you the size of an array 
> and sometimes doesn't.
> 
> Er, forget that last one. I don't think they'd go for it.
> 
> Ben