鉴于我喜欢用我的吸烟外套和白兰地威士忌,在炉火旁阅读源代码,一本书籍清单...
"The idea that you'd settle down in a deep leather chair with your smoking jacket and a snifter of brandy for a fine evening of reading through someone else's code is absurd." - Jeff Atwood.
“你想把吸烟的外套和一小杯白兰地放在一个深皮椅子上,以度过一个美好的晚上阅读别人的密码的想法是荒谬的。” -杰夫·阿特伍德
Absurd? Hardly. Nearly every programmer I've ever spoken to enjoys reading and discovering new code. I've been advocating that Developers need to read as much code as they write for at least half the time I've been blogging (10 years now, as of yesterday.) How could you not be excited about reading source with all the wonderful open source that's available in the world today?
荒诞? 几乎不。 我曾经与之交谈过的几乎每个程序员都喜欢阅读和发现新代码。 我一直提倡开发人员至少在我写博客的一半时间内(现在是10年,截至昨天)需要阅读与编写代码一样多的代码。您怎么可能不对阅读所有精彩内容的源代码感到兴奋当今世界上可用的开放源代码?
In fact I have an entire category of my blog called the "Weekly Source Code" with 58 different specific entries at last code. That's 58 different great opportunities to read and learn from another programmer, some good some bad.
实际上,我的博客有一个完整的类别,称为“每周源代码”,最后一个代码有58个不同的特定条目。 这是从另一个程序员那里学习和学习的58个不同的好机会,有的有好有坏。
The idea that reading source code is absurd is really the wrong message to send. Here's a list of interesting books about source and source code that I'd recommend you settle down in your leather chair, stoke the fire and read.
阅读源代码是荒谬的想法,实际上是发送了错误的消息。 这是一本有关源和源代码的有趣书籍,我建议您坐在皮椅上,chair火并阅读。
-
Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice (O'Reilly)) - The new classic. One chapter, one developer, and one famous program or problem. The chapter on a tiny regular expression parser is worth the price of the book.
美丽的代码:领先的程序员解释他们的想法(实践理论(O'Reilly)) -新经典。 一章,一名开发人员,以及一项著名的程序或问题。 微型正则表达式解析器上的这一章值得一本书。
-
Computers & Typesetting, Volume B: TeX: The Program - I've only read about 1/3 of this in uni in the library. It's pretty heady stuff but a fascinating look into the algorithms that a practical genius uses to set type.
《计算机与排版》,第B卷:TeX:该程序-我在图书馆的uni中只读了大约1/3。 这是很令人头疼的东西,但对实用的天才用来设置类型的算法的着迷介绍。
-
Design Patterns: Elements of Reusable Object-Oriented Software - A classic of the 90's, this book includes stories and examples from four professional programmers presented as a series of 23 patterns for creating Object Oriented software.
设计模式:可重用的面向对象软件的要素-这是90年代的经典著作,其中包括来自四位专业程序员的故事和示例,这些故事和示例以用于创建面向对象软件的23种模式系列呈现。
-
Operating Systems Design and Implementation (3rd Edition) - The original "Minix" book that taught me all about *nix systems in a tiny way in college. Much easier to jump into than the full Linux source code and even easier today with the advent of Virtual Machines. One of our homework assignments was to write a new file system driver. The version I had even had the complete system source code in the back of the book!
操作系统设计和实现(第3版) -最初的“ Minix”书以微妙的方式教会了我关于* nix系统的全部知识。 与完整Linux源代码相比,跳入要容易得多,并且随着虚拟机的出现,今天变得更加容易。 我们的一项家庭作业是编写一个新的文件系统驱动程序。 我什至在本书的背面也有完整的系统源代码!
-
Programming Pearls (2nd Edition) - Love love love this book. Practical low level discrete and brilliant examples of how smart people solve hard programs. This book is actually in my bathroom which is high praise, in fact.
编程珍珠(第二版) -爱爱爱这本书。 关于聪明人如何解决硬程序的实用的低水平离散且出色的示例。 实际上,这本书在我的浴室里很受好评。
-
Case Studies in Common Lisp - Free and online, this 1992 book includes not only an intro to Common Lisp but also great examples and lots of code.
Common Lisp中的案例研究-这本1992年的书免费且在线提供,不仅包括Common Lisp入门,而且还包含一些出色的示例和大量代码。
-
Artificial Intelligence: A Modern Approach - I try to read this book (lots available online) every two or three years but I'm not smart enough to handle it. But I'm going to keep trying.
人工智能:一种现代方法-我尝试每两三年阅读这本书(有很多在线书籍),但我不够聪明,无法处理。 但是我会继续尝试。
Of course, you don't need to buy any of these books or pay for anything. Just read code. Read your coworkers code, your company's code, your favorite open source library's code. Don't stop reading code.
当然,您不需要购买任何这些书或支付任何费用。 只需阅读代码即可。 阅读您的同事代码,公司代码,您最喜欢的开源库的代码。 不要停止阅读代码。
The Weekly Source Code was weekly but then become "whenever I get the time." Because of Jeff's article I'm going to get a smoking jacket and brandy snifter and start doing new Weekly Source Code posts every week. Ok, it will be a Code Zero snifter but you get the idea. Because you can't be a good
writer
coder if you aren't a good reader.
每周源代码是每周一次,但随后变为“只要我有时间”。 由于Jeff的文章,我将获得一件吸烟外套和白兰地威士忌,并开始每周做一次新的Weekly Source Code帖子。 好的,这将是零代码速动程序,但您明白了。 因为如果您不是优秀的读者,您就不能成为优秀的
作家
。
关于斯科特 (About Scott)
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。