Skip to content

Shall we consider adding more unary and binary operator functionalities? #8367

Answered by HaloFour
zakean asked this question in Language Ideas
Discussion options

You must be logged in to vote

At best it seems that you're only saving two characters over the current syntax of:

// proposed
bCondition ?? someVar = "Hello";

// already legal
if (bCondition) someVar = "Hello";

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by CyrusNajmabadi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants