I consider this to be a non-issue. There are two ways of writing in a new 
language. 

   - You can learn the language as defined.
   - You can write it the way you like it and convert to what is required 
   and then convert every one else's stuff to what you like. Go makes it 
   fairly easy for competent programmers to adapt gofmt to work with 
   variations in your source. I like the ternary and still use it but my Go 
   code on GitHub says IF. For me it is a keyboard shortcut, and as the years 
   go by, I do it less. 

I agree with those who do not include the ternary, a consistant display and 
unambiguous standards are important.

On Tuesday, April 23, 2019 at 8:05:31 PM UTC-5, lgo...@gmail.com wrote:
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/82de1e86-0a0a-4605-9870-b9207773db6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to