the-evolution-of-a-go-programmer icon indicating copy to clipboard operation
the-evolution-of-a-go-programmer copied to clipboard

Not using return variables

Open iamtakingiteasy opened this issue 5 years ago • 0 comments

// Factorial returns !n.
func Factorial(n int) (res int) {
	res = 1
	...
}

iamtakingiteasy avatar Feb 10 '20 10:02 iamtakingiteasy