"You can pretty much look at any Go program and find the same err != nil checks throughout. Some would say that this violates the DRY (Don’t Repeat Yourself) principle. They wouldn’t be wrong. In
Go turns 17, and the err != nil debate flares up again
Go hit its 17th birthday, which prompted the usual round of looking back and forward. Fittingly, the day's liveliest thread picks at the oldest sore spot in the language, arguing that the ever-present err != nil checks are a DRY violation nobody wants to admit to. Elsewhere, a couple of short videos take aim at two things most Go services get subtly wrong: stuffing context.Context into structs, and shutdowns that return from ListenAndServe and promptly cut in-flight requests off at the knees.

Go hit its 17th birthday, which prompted the usual round of looking back and forward. Fittingly, the day's liveliest thread picks at the oldest sore spot in the language, arguing that the ever-present err != nil checks are a DRY violation nobody wants to admit to. Elsewhere, a couple of short videos take aim at two things most Go services get subtly wrong: stuffing context.Context into structs, and shutdowns that return from ListenAndServe and promptly cut in-flight requests off at the knees.
Go turns 17! Time to look back... and forth. Plus: - Probabilistic algorithms - Typesafe database columns without codegen - Don't let AI make you dumb golang

Entity Component System (ECS) is how I structure my hobby games in Go. I show it on two small games built with Donburi and Ebitengine and explain where ECS gets in the way.

Join Thursday Go @ Online on Thu Nov 19
Kisi bhi program me hume data ki zarurat padti hai. Jese ki: Calculator program me user ka...
One of our clusters was monitored by Dynatrace while everything else was already running on Prometheus and Grafana. Continue reading on Medium »
Your Java service is not bloated. It is obedient. Continue reading on Medium »
Understanding the hidden performance costs of defer in Go, how the compiler optimizes it, and why one innocent-looking loop can become a… Continue reading on Medium »
A Case Study in Distributed Load Testing Engineering Using Kubernetes, Grafana k6 Operator, and Go Runtime Optimization Continue reading on Medium »
The Go docs give four rules for context.Context: pass it explicitly, make it the first parameter, call cancel, and keep values ...
ListenAndServe returns ErrServerClosed the moment Shutdown is called. If main exits then, in-flight requests are cut off. Wait for ...
One line. Program dead. An unbuffered send waits for a receiver, and nobody else is running. Can you solve the bonus at the end ...
Seven weeks and about 140 pull requests later, the Go service had roughly half the median latency. Check out the FULL VIDEO ...
Go ল্যাঙ্গুয়েজে defer কি এবং কিভাবে ব্যবহার করতে হয় তা সহজে শিখে নাও ...
ChatGPT 官网接口纯协议逆向实现,Go 语言编写,高并发、低内存、高性能。指纹级请求还原,支持 GPT-Image-2.6 生图/改图、GIF 动图、文本模型与语音合成/

