Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by orthoxerox

6 hours ago

Mike Pall wrote in the issue that it's easier to parse. If they get rid of the ternary operator, I'll ask him again to drop the period.

2 comments

orthoxerox

Reply

nmz  2 hours ago

a lone ? can mean anything, you can already tell that . is for fetching a subtable.

  • orthoxerox  2 hours ago

    In C# it's not a lone ?, it's two operators: ?. and ?[

    Lua could have ?. ?[ ?" ?{ and ?(

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities