Re: How Lua code can be updated at runtime without breaking global state?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How Lua code can be updated at runtime without breaking global state?
- From: Vadim Peretokin <vperetokin@...>
- Date: 2013年3月26日 14:11:54 +1000
You can do value = value or default as a pattern to prevent that problem.
Otherwise, the only real problem are upvalues, as those can't be updated (or easily?).