標籤:
MIT Introduction to Computer Science and Programming (Lesson one )
這篇文是記載 MIT 電腦科學及編程導論 第一集 的筆記
Lesson one : Goals of the course;what is computation;introduction to data types,operators,and variables
一 講解課程的任務、課程目標目標
- 像一個電腦科學家一樣思考
- 都能夠讀寫程式
- tacking technical problems
技巧
- 學會寫小規模的程式,來培養自己的計算思維
- 學習讀別人代碼,並且應用來寫出自己風格的代碼
- 瞭解電腦的基礎以及局限
二 There is no best language
- they all are description diferent things, having said that , some of them are bettr suited for something than others.
- Matlab is great for doing things with vactors and mathices.
- C is better to control date networks (術業有專攻,每個不同的語言都有它的用武之地)
- high level VS low level Language
- General VS targeted Language
- compiled VS interpreted Language
- python is High , general-purpose, interpreted language
三 statics , string ,numbers , some others etc…
- 代碼風格可以使我們避開簡單的語義錯誤
- 一些簡單的代碼
MIT Introduction to Computer Science and Programming (Lesson one )