Re:Learning a new language, or how I gained familiarity with Go
by tylerhou on Wednesday August 17, 2022 @06:35PM
(#32502619)
A big new concept in Go is that methods can have value receivers or pointer receivers. In C++ and Java, there is no distinction. Plus, method calls automatically deref pointers.
I think it took me a day to realize this when my code wasn't compiling.
That, and goroutines + channels (especially blocking behavior).
I think it took me a day to realize this when my code wasn't compiling.
That, and goroutines + channels (especially blocking behavior).