close
開始有機會設計架構,再看一遍,感覺上差很多..ccc
===========================================================
(1)Point to function(function的entry point是變數)的好處與缺點:減少code行數,也降低可讀性
(2)meta class的概念
(3)MVC model
Controller->滑鼠與鍵盤等IO
可以把windows的架構用MVC model來看,C->idler,timer,mouse,...->發出event給message queue
世紀末軟體革命2
- Computing can be viewed as simulation.- Alan Kay ,The inventor of Small talk
- 物件的特性
- 可以儲存
- 有狀態
- 行為
- 可以被識別
- 創造消滅
- 有生命週期
- 可以被記錄
- class的關係
- inheritance relationship
- using relationship
- instantiation relationship(template)->class製造機
- meta-class relationship
- 物件偶合關係....
-----
全站熱搜