|
|
||
|
On 2-Sep-05, at 1:35 PM, William Trenker wrote:
On 9/1/05, Rici Lake <lua@ricilake.net> wrote:
Let's trust the implementers to worry about the low-level stuff, and get it right. We can just think about the semantics, and how to write beautiful programs with that.
Agreeing wholeheartedly, may I pick a nit? Aren't there some high-level semantics that can be derailed when the programmer has no option but to work too close to the details? A simple example is testing for an empty table.
if t[1] == nil then ...
local hasdata = next
at the top of my code to make that particular test more readable.