> The body of the two functions differs only by a single ":", and yet, the > output of the Printf calls differs.
This is not correct. The significant difference is one version has a named return value, the other does not. The named return value allows you to capture (by name) the return value and examine it after the function has completed, but before the execution of the caller has resumed. -- 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.