本文為摘錄筆記
原文: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.
二、如何學編程
本文核心吕世,具體建議如下:
始終使自己充滿興趣
去編程
與其它程序員交流
看書不夠還要實踐
和其它程序員做項目
做別人做過的項目
重視計算機本身
加入語言規(guī)范化的工作中
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. <