Pinned[重構] 工廠裏頭的策略 Startegy in Factory by C#Hi all, 在之前的文章中有講到,我們如何在一個充滿 if-else 及 switch-case 的 code 重構成策略模式讓其本身決定是否符合條件,以下為重構後的 code。Mar 28, 2024Mar 28, 2024
Pinned[重構] 策略模式 Strategy by C#Hi all, 由於近日 91蒞臨我們部門擔任為期一周的 coach,因此有了此次的機遇,整個被點醒的過程蠻讚的寫篇文章來記錄。Mar 26, 2024A response icon1Mar 26, 2024A response icon1
Clean Architecture — Component Coupling 1Hi, all 某個晚上突然翻起桌上一本書: Clean Architecture 因此有了這邊文章做筆記。Jul 1, 2024Jul 1, 2024
Use Bun with DockerHi all, 這次的發想單純是因為假日到了找個工具來玩玩,但又發現要安裝依賴套件又有點會污染到本機端的環境,於是才有了這篇文章,這篇文章的目標就是透過 docker 把對於 bun.js 的依賴與本機端坐個區隔。Apr 6, 2024A response icon1Apr 6, 2024A response icon1
C# Unit Test 如何驗證多次呼叫Hi all, 由於工作的關係,我們在TDD的路上遇到了一個情境,那就是如何驗證多次被呼叫的情況。甚麼意思呢,這邊給個例子🌰Jan 20, 2024Jan 20, 2024
TypeScript: Type and InterfaceHi all, 這篇文章主要會用來比較 type 與 inteface的差別,做為自己的小小筆記。Jan 20, 2024Jan 20, 2024
Git Stash — makes you multiple personalityHi there, if you ever being that there’s alot of git change in local, but can’t update the project unless discard those change?Dec 20, 2023Dec 20, 2023