lua-users home
lua-l archive

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


Also if holding shift or optimizing that away is a bottleneck to your
coding project, there is something seriously going wrong.

Note that ifq() takes functions rather than values. Since normally a
major treat of the ? : operator is that the other paths are not
evaluated. It could thus as well differentiate if f_nil is nil or
|nil|.


On Sun, Nov 21, 2010 at 10:46 AM, Kristofer Karlsson
<kristofer.karlsson@gmail.com> wrote:
>
>>
>> And finally, as you don't need to press the shift key, the typing is
>> slightly faster.
>
> Clearly this depends on which keyboard layout you're using, not all layouts
> have [ and ] mapped to single key presses.
>