<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>私有方法 on Tony Bai</title><link>https://tonybai.com/tags/%E7%A7%81%E6%9C%89%E6%96%B9%E6%B3%95/</link><description>Recent content in 私有方法 on Tony Bai</description><generator>Hugo</generator><language>zh-cn</language><copyright>2004-2026 Tony Bai. 版权所有.</copyright><lastBuildDate>Thu, 30 Oct 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://tonybai.com/tags/%E7%A7%81%E6%9C%89%E6%96%B9%E6%B3%95/index.xml" rel="self" type="application/rss+xml"/><item><title>告别懵圈：实战派 Gopher 的类型理论入门</title><link>https://tonybai.com/2025/10/30/type-theory-intro-for-gopher/</link><pubDate>Thu, 30 Oct 2025 00:00:00 +0800</pubDate><guid>https://tonybai.com/2025/10/30/type-theory-intro-for-gopher/</guid><description>本文永久链接 – https://tonybai.com/2025/10/30/type-theory-intro-for-gopher 大家好，我是Tony Bai。 你是否曾有过这样的经历：在浏览一个关于 Go 泛型或接口设计的 GitHub issue 或技术提案时，评论区里的大佬们突然开始讨论 “Sum Type”、“Product Type”、“Parametric Polymorphi...</description></item><item><title>Go团队成员的忠告：在你的API变得无法挽回之前，必须掌握的四条原则</title><link>https://tonybai.com/2025/09/24/evolving-your-go-api/</link><pubDate>Wed, 24 Sep 2025 00:00:00 +0800</pubDate><guid>https://tonybai.com/2025/09/24/evolving-your-go-api/</guid><description>本文永久链接 – https://tonybai.com/2025/09/24/evolving-your-go-api 大家好，我是Tony Bai。 你在 package 中导出的每一个 func 和 type，都是一份对用户的**承诺**。然而，变化是软件开发中唯一不变的真理。当需求变更、bug 修复、甚至认知升级时，你将如何修改这份“承诺”，同时又最大限度地减少对你和你的用户造成的破坏？ ...</description></item></channel></rss>