It wasn't mentioned here but I really like how C# IDE helps understanding 
function arguments. It's entirely true that arguments should have 
meaningful names but sometimes it's impossible. Standard C# function 
comments let you document arguments. The argument comment appears right 
when you need it, when you are at a point of providing a value for it. I 
haven't seen such thing in Go yet. You can provide additional info about 
the arguments inside function documentation but it's not standardised the 
way a common Go IDE would understand it. In practice I sometimes jump to 
the function definition to clarify the meaning of the argument but it could 
be more explicit.


-- 
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/48e852da-0abf-4e0d-912b-e9de52b4958f%40googlegroups.com.

Reply via email to