Phuong Le (@func25) 's Twitter Profile
Phuong Le

@func25

I write clickbaity content

ID: 2782006646

linkhttp://blog.devtrovert.com calendar_today31-08-2014 10:00:39

591 Tweet

3,3K Followers

89 Following

Phuong Le (@func25) 's Twitter Profile Photo

If you're confused about when to use a pointer or value receiver, or whether to return a pointer or value, here’s what I’d suggest by default: - Return a value from a function instead of a pointer. You’ll likely reduce heap allocation and not get confused with shared data. -