logoalt Hacker News

spankaleetoday at 5:31 AM1 replyview on HN

They shouldn't add the ternary operator, it keeps `?` from being usable on it's own for safe navigation and requires the ugly `?.` operator, like `a?.[b]` or `f?.()` instead of `a?[b]` or `f?()`.


Replies

orpheatoday at 10:43 AM

Yep. This is awful:

  obj?.:method(…)