Any chance we will be able to use ? with the get operator in the future?
E.g.
array?[10] instead of array?.get(10)
3 Likes
Maybe?
What I am concerned about is that if we are able to use ?[]
as ?.get()
, should we be able to use ?=
as ?.set()
? What’s more, ?()
as ?.invoke()
, ?+
as ?.plus()
and ?-
as ?.minus()
?
7 Likes
perhaps they could limit it to the get operator
1 Like
I vote for all your proposals