- 最后登录
- 2022-3-12
- 在线时间
- 1676 小时
- 寄托币
- 8473
- 声望
- 282
- 注册时间
- 2016-10-23
- 阅读权限
- 40
- 帖子
- 1327
- 精华
- 1
- 积分
- 4303
- UID
- 3761455
- 声望
- 282
- 寄托币
- 8473
- 注册时间
- 2016-10-23
- 精华
- 1
- 帖子
- 1327
|
- I needed a title, so on a whim I chose \textit{How to Think Like a Computer Scientist.}
- My first version was rough, but it worked. Students did the reading, and they understood
- enough that I could spend class time on the hard topics, the interesting topics and (most
- important) letting the students practice.
- I released the book under the GNU Free Documentation License, which allows users
- to copy, modify, and distribute the book.
- What happened next is the cool part. Jeff Elkner, a high school teacher in Virginia,
- adopted my book and translated it into Python. He's sent me a copy of his translation,
- and I had the unusual experience of learning Python by reading my own book. As Green
- Tea Press, I published the first Python version in 2001.
- In 2003 I started teaching at Olin College and I got to teach Python for the first time.
- The contrast with Java was striking. Students struggled less, learned more, worked on
- more interesting projects, and generally had a lot more fun.
- Over the last nine years I continued to develop the book, correcting errors, improving
- some of the examples and adding material, especially exercises.
- The result is this book, now with the less grandiose title \textit{Think Python}. Some of the
- changes are:
- \begin{itemize}
- \item I added a section about debugging at the end of each chapter.These sections present
- general techniques for finding and avoiding bugs, and warnings about Python
- pitfalls.
- \item I added more exercises, ranging from short tests of understanding to a few substantial
- projects. And I wrote solutions for most of them.
- \item I added a series of case studies---longer examples with exercises, solutions, and
- discussion. Some are based on Swampy, a suit of Python programs I wrote for use
- in my classes. Swampy, code examples, and some solutions are available from \textit{http://
- think python.com}.
- \item I expanded the discussion of program development plans and basic design patterns.
- \item I added appendices about debugging, analysis of algorithms, and UML diagrams
- with Lumpy.
- \end{itemize}
- I hope you enjoy working with this book, and that you learn to program and
- think, at least a little bit, like a computer scientist.
- ---Allen B. Downey
- Needham, MA
复制代码 |
|