Published on 2025年7月7日 📌Claude Code Tips Claude-Code AI Claude Code 的實用技巧和操作指南,包含啟動指令、對話模式切換、檔案操作等常用功能 Read more →
Published on 2026年3月9日 Classic TDD Workshop — 從混亂到掌控的設計之道 Testing Course 在 AI Coding 工具當道的時代,一堂實打實的手工藝課程。回到 Kent Beck 的 Classic TDD 方法論,從需求分析到重構,完整掌握 TDD 的核心循環 Read more →
Published on 2026年3月8日 單元測試的好壞:你的測試在保護你,還是在拖累你? Testing Clean-Code 覆蓋率高不代表測試品質好。透過八個原則和六個反模式,學會分辨什麼是真正保護你的測試,什麼是在拖累你的累贅 Read more →
Published on 2026年3月5日 Kotlin 延遲初始化:lazy 與 lateinit 的抉擇 Kotlin 深入介紹 Kotlin 的兩種延遲初始化機制:by lazy 的委託屬性用法與執行緒安全模式、lateinit 的限制與安全檢查、兩者的比較與選擇指引,也討論了 DI 框架對 lazy 使用的影響,以及用 lazy 實現快取的進階技巧 Read more →
Published on 2026年3月4日 Kotlin 數字型別與 Null 安全性 Kotlin 了解 Kotlin 數字型別的設計哲學,統一的型別系統如何兼顧效能,以及與 Null 安全性之間的關係 Read more →
Published on 2026年3月2日 Kotlin Scope Functions:用兩個問題選對函式 Kotlin 深入介紹 Kotlin 五個 Scope Functions — let、run、apply、also、with — 的引用方式、回傳值差異,以及各自適合的使用場景與常見陷阱 Read more →
Published on 2026年2月28日 Kotlin Extensions:型別缺什麼方法,自己加就好 Kotlin 深入介紹 Kotlin Extensions 的各種用法:Extension Function、Extension Property、Nullable Receiver、泛型擴充、Infix、Companion Object Extension、Member Extension,以及靜態解析的特性與陷阱 Read more →
Published on 2026年2月26日 Kotlin object 關鍵字:一個關鍵字,三種超能力 Kotlin 深入介紹 Kotlin object 關鍵字的三種用法:Object Declaration(Singleton)、Companion Object(static 替代方案)、Object Expression(匿名物件),並附上底層實作說明與完整比較表 Read more →
Published on 2026年2月25日 Kotlin Class 的初始化機制:解密 init 與初始化順序 Kotlin 深入介紹 Kotlin class 初始化機制:init block 的用途、多個 init block 的執行順序、property initializer 與 init 的交錯執行、繼承情境下的完整初始化順序,以及常見的初始化陷阱。 Read more →
Published on 2026年2月20日 前置驗證與後置驗證:你的程式碼有說清楚它的承諾嗎? Testing Clean-Code 從 Precondition、Postcondition 到 Design by Contract,探討函式的承諾如何透過驗證機制與單元測試共同保護程式碼品質 Read more →
Published on 2026年2月15日 SDD — 從 TDD 到規格驅動開發:AI 時代的延伸 Testing SDD AI Agent Claude-Code TDD 用測試驅動設計,SDD 用規格引導 AI。AI 擅長寫程式碼,但不知道該做到什麼程度。結構化的 Spec 定義了範圍和邊界,搭配 TDD 驗證結果,讓 AI 不只做得快,還做得對 Read more →