[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Condenseable?
- From: Ben Sunshine-Hill <bsunshin@...>
- Date: Sun, 24 Aug 2003 20:27:50 -0700
Well, to abuse Lua's poor, embattled boolean operators even more than they are
at present, and toss in a little bit of table-based obfuscation:
return GetSomeResult() or (GetSomeTable() or {})[key]
Ben "I'm not an evil programmer, really" Sunshine-Hill
On Sunday 24 August 2003 08:18 pm, Ando Sonenblick wrote:
> Gang, can this following code be condensed somehow into a single execution
> "block" (without making it a subroutine)?