3 ms·
a lone ? can mean anything, you can already tell that . is for fetching a subtable.
by nmz 3mo ago
a lone ? can mean anything, you can already tell that . is for fetching a subtable.
- orthoxerox 3mo agoIn C# it's not a lone ?, it's two operators: ?. and ?[ Lua could have ?. ?[ ?" ?{ and ?(
- nmz 3mo agoI'd rather it use ?.() the . means getkey, () means expression using .(expr) should be the same as array[], throwing ? as a character should be very obvious what it does.