其實自已話識 d Software Design Pattern, 充其量亦只是會它們的名字,小弟到到陣都未真係試過用 Design Pattern 去做 Refactoring / Design. 看了一遍有關文章,作者引用了 Command Pattern. 其實小弟在初次接觸 Command Pattern 時,總覺得它會跟 Observer Pattern 很相似 -- 很多時都會被用到在 Button Action 上,令到小弟感到很困擾。
A 18Xlb man with 1 inche fat around every part of his body...
魔羯座 肥仔一名
喜歡的歌 : 流行音樂 Pop music (Canto Pop, JPop, KPop, Pop) from 80's to 2010 ...
Comments