40 likes | 130 Views
Learn the evolution from unstructured to structured programming to the current object-oriented paradigm. Explore global and local variables, functions, loops, and inheritance in detail. Discover how objects, member functions, and data are passed between components.
E N D
物件導向簡介 陳鍾誠 2011/9/27
非結構化設計 (1970) 資料 (全域變數) 程式(函數) (if+goto) 修改
結構化設計 (1980) 資料 (全域變數) (區域變數) 程式(函數) (if, for, while) 修改 傳遞
物件導向 (1990) 物件 (物件變數) (成員函數) 物件 (物件變數) (成員函數) 修改 傳遞