Here's my 2cents: 
I actually don't mind the parenthesis.. I've written a bunch of functions 
with them now (
https://github.com/DylanMeeus/hasgo2/tree/master/functions) and they become 
readable quickly. (Although I also enjoy LISP flavours, so maybe that 
biases my view of parenthesis :D) 

But as I can see, the square brackets do offer a certain readability 
improvement in those cases mentioned above. Somehow though the [] I 
associate more strongly with 'indexing' and 'slices / arrays' whereas with 
the `()` I don't have a strong association with a single thing. They are 
already used for multiple parts, you get

```
func (params) (return_params)
x.(string)
```

and of course for grouping mathematical operations. 

I'll play around with the change and see if I get used to them as quickly 
:) 

-- 
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/6970950d-be5e-43f6-9ea6-827d193116a5o%40googlegroups.com.

Reply via email to