One of the most common mistakes in Go is about to be fixed

Dreams of Code
Dreams of Code
27.8 هزار بار بازدید - 5 ماه پیش - They finally fixed it.This mistake
They finally fixed it.

This mistake is one of the more common mistakes you can make when writing Go code. The Go developers have realized this, and so they're going to be resolving it in the next major release of Go.

We don't have to wait until then, however, as we can actually test the fix today.

Become a better developer in 4 minutes: https://bit.ly/45C7a29 👈

Video Links:
Golang FAQ on the issue: https://go.dev/doc/faq#closures_and_g...
Blog Post with Fix: https://go.dev/blog/loopvar-preview

Join this channel to get access to perks:
@dreamsofcode

Join Discord: Discord: discord
Join Twitter: Twitter: dreamsofcode_io
5 ماه پیش در تاریخ 1402/11/15 منتشر شده است.
27,880 بـار بازدید شده
... بیشتر