Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
orthoxerox
· 5mo ago · 0 comments
In C# it's not a lone ?, it's two operators: ?. and ?[
Lua could have ?. ?[ ?" ?{ and ?(
Comments
[–]
nmz
5mo ago
I'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.