The Craft of Code
DesignForge: Engineering Beauty at Scale
Bridging the gap between functional AI-generated code and premium aesthetic quality through a curated repository of handcrafted UI studies.
Read Article
Welcome to K&E Tech
Welcome! We are excited to unveil our refreshed website and updated service offerings. K&E Tech has always been about quality and innovation, and …
Read Article
Go Pattern: Hybrid Handler
Overview In today’s high-performance and concurrent computing environments, effectively processing a stream of messages using a mix of purely …
Read Article
Go Pattern: Runner
Again and again, a concurrent pattern emerges from the need to control goroutine lifecycles and handle their errors, and I call it the “Runner …
Read Article
Go Anti-pattern: Parent Closer
Imagine you need to wrap multiple objects which implements io.Closer, e.g. three clients to fetch and combine data from different endpoints.
Read Article
Go Pattern: Context-aware Lock
We often use Mutex or RWMutex as locks in Go, but sometimes we need a lock that can be cancelled by a context during the lock attempt.
Read Article
Go Pattern: Buffered Writer
A buffered writer is so ubiquitous that we do not usually consider it as a pattern, but sometimes we reinvent it or even do it in an inferior way. Let …
Read Article
Value vs Pointer Receivers
Should I use value receivers or pointer receivers? Value receivers have some benefits include immutability, concurrent safety and clean logic (not …
Read Article