lua-users home
lua-l archive

Re: ? assignments are not expressions ?

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


> > Juxtaposing = and == is always a syntax error in C.
>
> But there are many places -- conditional tests, for example -- where both
> are syntactically valid even though they are semantically very, very, very
> different.
 Hmmm.. That's true, but in my experience it is almost never a problem.
> Right now Lua is (mostly) semantically very clean. (Upvalues and the like
> are a bit muddled, IMO.) I'd like to see it not get infected by Cisms.
 I agree. If we want C language features then we can program in C.

AltStyle によって変換されたページ (->オリジナル) /