lua-users home
lua-l archive

Re: ? assignments are not expressions ?

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Then assignment should be an expression. 
*shrug*
I disagree.
> And why can't I do something like
> x = while y < 10 do y = y + 1 end
Because it's incomprehensible gibberish and write-only code, perhaps?
> I imagine that might really by a maintenance nightmare, but it wouldn't
> have to be used by somebody worried about such things.
One of the earliest, and bitterest, lessons I learned was that there is no
such thing as throw-away code....
- --
Michael T. Richter
"Be seeing you."
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3
iQA/AwUBOsDptLTM3QkE7U/oEQI8YgCfSFu/bdPvgtpibYDT1gzJDyEOoogAoJ4d
BWvWduCDdVJROyPcv8V8K9PZ
=VLtb
-----END PGP SIGNATURE-----

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