Code should be written to minimize the time it would take for someone else to understand it. This principle should guide all coding decisions, from naming variables to structuring functions to organizing modules. Even if you are the only person who will ever read your code, that person will be you six months from now—effectively a different person who has forgotten all the context you currently have.

— Dustin Boswell

← Tất cả Tags
✦
Tag

#context

1 bài viết về chủ đề này

❖

Context trong Go — thứ mà dev Go nào cũng cần nắm

26 tháng 6, 2026 • Phong

Context package trong Go có vẻ đơn giản nhưng nếu xài sai là đau lắm. Mình kể ít chuyện về timeout, cancel, và mấy cái bẫy mà dev hay mắc.

go golang context concurrency dev-tips
Đọc tiếp →
← Tất cả Tags • Blog →
✦
Home ✦ Blog ✦ Tags

Privacy Policy • Terms & Conditions © 2026 Phong Hy. Crafted with care.