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…
- 代码风格可以使我们避开简单的语义错误
- 一些简单的代码