Pointers Without the Pain
Pointers in Go for C# developers who have never needed them. Value versus pointer receivers, when to pass by pointer, and why it is less scary than it sounds.
Pointers in Go for C# developers who have never needed them. Value versus pointer receivers, when to pass by pointer, and why it is less scary than it sounds.
Go slices are not arrays and not List<T>. Length, capacity, shared backing arrays and the append gotchas that catch every C# developer.
How Go decides between stack and heap at compile time. Escape analysis explained for C# developers used to value types and the garbage collector.