zlacker

[return to "Go is still not good"]
1. softwa+Hb[view] [source] 2025-08-22 11:31:25
>>ustad+(OP)
I like Go, but my main annoyance is deciding when to use a pointer or not use a pointer as variable/receiver/argument. And if its an interface variable, it has a pointer to the concrete instance in the interface 'struct'. Some things are canonically passed as pointers like contexts.

It just feels sloppy and I'm worried I'm going to make a mistake.

◧◩
2. empath+IY[view] [source] 2025-08-22 16:06:29
>>softwa+Hb
Using pointers as optional types is the absolute worst part of using go.
[go to top]