歡迎來到 https://hackmd.io/@iPlayground/2024 共筆
請從這裡開始
Data-Context-Interaction
Data:物件的本質,純粹的資料存在
Context:負責定義物件的角色分配
Role (Interaction):物件的行為,純粹的函數存在,相同 Context 的 Role 組成了物件的互動關係
Role 使用 Protocol 定義
物件精神分裂症
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up