Berkeley's SICP in python(一)
2015-07-03 11:19
579 查看
一 Building abstractions with Functions
1 Introduction
所有的计算都是表示信息,指定逻辑并处理它,设计抽象和管理这一逻辑的复杂性。
A language isn’t something you learn so much as something you join
Assignment statement :赋值语句
compound expressions:复合表达式
The design and implementation of interpreters:解释器的设计与实现
Incremental testing, modular design, precise assumptions, and teamwork are themes that persist throughout this course.
Hopefully, they will also persist throughout your computer science career.
As you become familiar with the Python language and vocabulary, this documentation will become a valuable reference source。
Don’t repeat yourself is a central tenet of software engineering。
Docstrings are conventionally triple quoted. The first line describes the job of the function in one line. The following lines can describe arguments and clarify the behavior of the function.
(unit testing:>>>(space)sum_naturals(10));
Exhaustive unit testing is a hallmark of good program design.
1 Introduction
所有的计算都是表示信息,指定逻辑并处理它,设计抽象和管理这一逻辑的复杂性。
A language isn’t something you learn so much as something you join
Assignment statement :赋值语句
compound expressions:复合表达式
The design and implementation of interpreters:解释器的设计与实现
Incremental testing, modular design, precise assumptions, and teamwork are themes that persist throughout this course.
Hopefully, they will also persist throughout your computer science career.
As you become familiar with the Python language and vocabulary, this documentation will become a valuable reference source。
Don’t repeat yourself is a central tenet of software engineering。
Docstrings are conventionally triple quoted. The first line describes the job of the function in one line. The following lines can describe arguments and clarify the behavior of the function.
(unit testing:>>>(space)sum_naturals(10));
Exhaustive unit testing is a hallmark of good program design.
相关文章推荐
- Python动态类型的学习---引用的理解
- Python3写爬虫(四)多线程实现数据爬取
- 垃圾邮件过滤器 python简单实现
- 下载并遍历 names.txt 文件,输出长度最长的回文人名。
- install and upgrade scrapy
- Scrapy的架构介绍
- Centos6 编译安装Python
- 使用Python生成Excel格式的图片
- 让Python文件也可以当bat文件运行
- [Python]推算数独
- Python中zip()函数用法举例
- Python中map()函数浅析
- Python在CAM软件Genesis2000中的应用
- 使用Shiboken为C++和Qt库创建Python绑定
- FREEBASIC 编译可被python调用的dll函数示例
- Python 七步捉虫法
- Python实现的基于ADB的Android远程工具