3 ms·
? already has different forms as of now. You can do foo()?; or foo()?.bar(). People don't seem to be confused. expr ? expr : expr is just another form. The
by ww520 10y ago
? already has different forms as of now. You can do foo()?; or foo()?.bar(). People don't seem to be confused.
expr ? expr : expr is just another form. The ternary form is so well known that I doubt people have problem recognizing it.