Here is the analoguous discussion concerning the ternary operator in Kotlin:
https://discuss.kotlinlang.org/t/ternary-operator/2116 After 168 posts to this thread where the thread creator did not want to accept that the language needs no ternary operator, the thread was finally closed by the admin. Am Mittwoch, 24. April 2019 03:05:31 UTC+2 schrieb lgo...@gmail.com: > > It sure would be nice if Go syntax allowed programmers to replace > > if ( test) { > ...do sonething > } else { > ..do something else > } > > with > > ? (test) { > //...do something > } > { > //..do something else > } > > The ? operator can be anything the Go language team considers appropriate > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.