Recent Posts

UML - Class Diagram

less than 1 minute read

Design Pattern的學習中頻繁的出現著Class Diagram,如果不仔細地了解箇中意思,將會學得很辛苦,因此特別介紹Class Diagram,也就是類別圖。UML中的專有名詞與一般寫程式的專有名詞並不完全相同,例如UML用的一般化(generalization)這個名詞就等於是物件導向語言中「繼承...

Design Pattern - Command Pattern

1 minute read

定義: Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operat...

Design Pattern - 資源總整理

less than 1 minute read

要學Design Pattern之前, 一定要先搞懂的物件導向基礎: 強烈建議先閱讀91Design Pattern學習的心得之後,再開始學習Design Pattern。文中提到學Design Pattern時必須具備下列的物件導向知識。強調Design Pattern只是幫助物件導向程式達到「高內聚、低耦合...