Avatar for Leon Mika
Leon Mika
Software engineer in Melbourne, Australia.
About Now Projects Archive Follow More Search
2024-11-12

I’ll never understand Go developers who insist on using pointers to represent a lack of something, where a zero value would work just as well. Better even, as you wouldn’t need to dereference things or worry about nil-pointer panics. Remember, don’t fear the zero value.

November 12, 2024 8:52am
Leon Mika Leon Mika
1 backlink to this post
  • Interesting development in the world of Go: in 1.26, the new() function will now …
  • ❮ Previous Post
  • Next Post ❯