https://www.pathsensitive.com/2018/01/the-benjamin-franklin-method-of-reading.html
传统的编程书籍的教学方式都是,告诉读者按我们的告知的内容写程序,然后读者就会学会这个语言/框架等。
无论是按原样输入每行代码(不过脑子),还是粘贴后稍作修改,都不是很好的学习方式。
# Mental Representations
Expertise is a process of building mental representations.
专业知识是建立心理表征的过程。
这就是为什么精通一项技术的程序员可以像小说一样查看使用它的代码并通读它,只在令人惊讶的部分停下来,而新手则逐行工作。这也是 为什么智能代码完成工具 可以从前几行猜出一长串代码的原因。有了更好的心理表征,理解代码的工作就会减少。
# The Benjamin Franklin Method
Read -> Make short hits -> Try to compleat to paper by expression each hinted statiment at legnth and as fully as it had been expressed befor.
Just like an autoencoder tries to learn efficient representation of inputs.
# Here’s how it works
Read your programming book as normal. When you get to a code sample, read it over
Then close the book.
Then try to type it up.
传统的编程书籍的教学方式都是,告诉读者按我们的告知的内容写程序,然后读者就会学会这个语言/框架等。
无论是按原样输入每行代码(不过脑子),还是粘贴后稍作修改,都不是很好的学习方式。
# Mental Representations
Expertise is a process of building mental representations.
专业知识是建立心理表征的过程。
这就是为什么精通一项技术的程序员可以像小说一样查看使用它的代码并通读它,只在令人惊讶的部分停下来,而新手则逐行工作。这也是 为什么智能代码完成工具 可以从前几行猜出一长串代码的原因。有了更好的心理表征,理解代码的工作就会减少。
# The Benjamin Franklin Method
Read -> Make short hits -> Try to compleat to paper by expression each hinted statiment at legnth and as fully as it had been expressed befor.
Just like an autoencoder tries to learn efficient representation of inputs.
# Here’s how it works
Read your programming book as normal. When you get to a code sample, read it over
Then close the book.
Then try to type it up.