Hacker News new | ask | show | jobs
by colinyoung 3886 days ago
Maybe we could use something more readable? What about:

    if posts.comments??.likes??
or

    if posts..comments..likes
instead of

    if posts.?comments.?likes
That would mirror the usage of ?? as the nil-coalescing operator in Swift.