TODO: pass by value, pass by reference
-
return by value: return variable
-
return by reference: return *variable
-
return named value:
func f() ( result int) { ... return }
does not seem to be very readable
- Dispatch table
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
return by value: return variable
return by reference: return *variable
return named value:
func f() ( result int) { ... return }
does not seem to be very readable