本文为摘录笔记
原文:Teach Yourself Programming in Ten Years
导读:
如何花10年学会编程
- 兴趣是最好的老师
- 去做
- 去交流
摘录笔记:
一、关键在于刻意练习,而不是简单重复
The key isdeliberative practice: not just doing it again and again, but challenging yourself with a task that is just beyond your current ability, trying it, analyzing your performance while and after doing it, and correcting any mistakes. Then repeat. And repeat again.
二、如何学编程
本文核心,具体建议如下:
始终使自己充满兴趣
去编程
与其它程序员交流
看书不够还要实践
和其它程序员做项目
做别人做过的项目
重视计算机本身
加入语言规范化的工作中
When you're the worst, you learn what the masters do, and you learn what they don't like to do (because they make you do it for them).
三、如何选语言:
作者推荐易用的Python orScheme。或Javascript,虽难但教程很多。
- 选用的人(会成为你交流对象)多的。
- 简单的,c++和java会考虑运行效率,而你只需要考虑编程
- 有反馈地学习
Learn at least a half dozen programming languages. Include one language that emphasizes class abstractions (like Java or C++), one that emphasizes functional abstraction (like Lisp or ML or Haskell), one that supports syntactic abstraction (like Lisp), one that supports declarative specifications (like Prolog or C++ templates), and one that emphasizes parallelism (like Clojure or Go).
四、选哪些书:
- Scheme: Structure and Interpretation of Computer Programs (Abelson & Sussman) is probably the best introduction to computer science, and it does teach programming as a way of understanding the computer science. You can see online videos of lectures on this book, as well as the complete text online. The book is challenging and will weed out some people who perhaps could be successful with another approach.
- Scheme: How to Design Programs (Felleisen et al.) is one of the best books on how to actually design programs in an elegant and functional way.
- Python: Python Programming: An Intro to CS (Zelle) is a good introduction using Python.
- Python: Several online tutorials are available atPython.org.
- Oz: Concepts, Techniques, and Models of Computer Programming (Van Roy & Haridi) is seen by some as the modern-day successor to Abelson & Sussman. It is a tour through the big ideas of programming, covering a wider range than Abelson & Sussman while being perhaps easier to read and follow. It uses a language, Oz, that is not widely known but serves as a basis for learning other languages. <