Pinned地域列車車長 - James[重構] 工廠裏頭的策略 Startegy in Factory by C#Hi all, 在之前的文章中有講到,我們如何在一個充滿 if-else 及 switch-case 的 code 重構成策略模式讓其本身決定是否符合條件,以下為重構後的 code。Mar 28Mar 28
Pinned地域列車車長 - James[重構] 策略模式 Strategy by C#Hi all, 由於近日 91蒞臨我們部門擔任為期一周的 coach,因此有了此次的機遇,整個被點醒的過程蠻讚的寫篇文章來記錄。Mar 261Mar 261
地域列車車長 - JamesClean Architecture — Component Coupling 1Hi, all 某個晚上突然翻起桌上一本書: Clean Architecture 因此有了這邊文章做筆記。Jul 1Jul 1
地域列車車長 - JamesUse Bun with DockerHi all, 這次的發想單純是因為假日到了找個工具來玩玩,但又發現要安裝依賴套件又有點會污染到本機端的環境,於是才有了這篇文章,這篇文章的目標就是透過 docker 把對於 bun.js 的依賴與本機端坐個區隔。Apr 61Apr 61
地域列車車長 - JamesC# Unit Test 如何驗證多次呼叫Hi all, 由於工作的關係,我們在TDD的路上遇到了一個情境,那就是如何驗證多次被呼叫的情況。甚麼意思呢,這邊給個例子🌰Jan 20Jan 20
地域列車車長 - JamesTypeScript: Type and InterfaceHi all, 這篇文章主要會用來比較 type 與 inteface的差別,做為自己的小小筆記。Jan 20Jan 20
地域列車車長 - JamesGit 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
地域列車車長 - James[筆記] 設計重構 — 設計臭味時隔一個月,好不容易有時間回頭來看看這本書了,在這篇筆記中我把第二章節切兩個小節,分別為:設計臭味與如何解決設計臭味。Oct 11, 2023Oct 11, 2023
地域列車車長 - JamesGolang DI with WireHi there, this post will introduce how to implement DI (Dependency Injection) in Golang environment via the Library Wire.Oct 6, 20231Oct 6, 20231