Homepage
Open in app
Sign in
Get started
The Possibilities of Life
生活隨筆
閱讀心得
技術筆記
電影想說的
觀察與反思
Follow
深入淺出設計模式(Design Pattern)-迭代器模式(10-Iterator-Pattern)
深入淺出設計模式(Design Pattern)-迭代器模式(10-Iterator-Pattern)
不知道你有沒有遇過需要迭代的物件,但迭代的方式不太一樣,這篇要來介紹把迭代這個動作封裝起來的模式,迭代器模式(Iterator Pattern)。
Ben
Mar 1
深入淺出設計模式(Design Pattern)-樣板方法模式(9-Template Method Pattern)
深入淺出設計模式(Design Pattern)-樣板方法模式(9-Template Method Pattern)
這篇要來替大家介紹一個應用繼承和抽象來實作共同流程的設計模式,樣板方法模式(Template Method Pattern)。
Ben
Feb 26
深入淺出設計模式(Design Pattern)-門面模式(8-Facade-Pattern)
深入淺出設計模式(Design Pattern)-門面模式(8-Facade-Pattern)
這篇要來介紹一個跟轉接器模式一樣是修改介面的模式,門面模式(Facade Pattern)。
Ben
Jan 31
深入淺出設計模式(Design Pattern)-轉接器模式(7-Adapter-Pattern)
深入淺出設計模式(Design Pattern)-轉接器模式(7-Adapter-Pattern)
看到這張圖片是不是用腳指頭上的指甲都想的出來要介紹什麼啊,這篇要來介紹轉接器模式(Adapter Pattern)。
Ben
Jan 30
深入淺出設計模式(Design Pattern)-命令模式(6-Command-Pattern)
深入淺出設計模式(Design Pattern)-命令模式(6-Command-Pattern)
這次的封面圖片就是我們要講的主題,這篇要來介紹命令模式(Command Pattern)。
Ben
Jan 30
深入淺出設計模式(Design Pattern)-單例模式(5-Singleton-Pattern)
深入淺出設計模式(Design Pattern)-單例模式(5-Singleton-Pattern)
這個1是不是很有意境,沒錯,這邊就是要來講只會有一個實例的單例模式(Singleton Pattern)。
Ben
Jan 29
深入淺出設計模式(Design Pattern)-工廠模式(4-Factory-Pattern)
深入淺出設計模式(Design Pattern)-工廠模式(4-Factory-Pattern)
看到這張照片是不是就知道這篇要來介紹什麼了,沒錯,就是工廠模式(Factory Pattern)。
Ben
Jan 29
About 生活的各種可能性
Latest Stories
Archive
About Medium
Terms
Privacy
Teams