Remix.run Logo
nulld3v a day ago

I mean it's a great idea, and I fully agree that I do not want to worry about memory allocation. So then why is `make` a thing? And why is `new` a thing? And why can't I take an address to a primitive/literal? And yet I can still take an address to a struct initialization? And why can't I take an address to anything that's returned by a function?

assbuttbuttass a day ago | parent [-]

https://go.dev/ref/spec#Address_operators