AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Go - Is There a Pointer on a Variable?
In goa const is am three point one, four in the value of pi. Can you do that on any variable, on any object? Bcause in go wi, more limited, aren't we? Without conss? That certainly, if there's no pointer on a variable, then you get a copy of it. You do not get to modify the original. Yet, these are, i think, mildly confusing parts of go they are. But as you sort hof iterated them out, then i realize that it doesn't come up often, like i suppose, because now i'm just second nature.