TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What are some of the best written programming books?

57 点作者 ishanr将近 10 年前
I recently read Russ Olsen&#x27;s Eloquent Ruby and I loved it.<p>It is incredibly readable; the code and the stories mixing amazingly with real world examples and what not.<p>What are some of yours?

48 条评论

trequartista将近 10 年前
Some love for - The C Programming Language - Kerninghan &amp; Ritchie -<p><a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;The-Programming-Language-Brian-Kernighan&#x2F;dp&#x2F;0131103628" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;The-Programming-Language-Brian-Kernigh...</a>
评论 #9761692 未加载
cfeduke将近 10 年前
Any book written by Charles Petzold is an enjoyable read, though particularly the non-MS specific titles Code and The Annotated Turing.<p>Java Concurrency in Practice (2006) is older but relevant and clearly describes concurrency on the JVM. A must read for any Java, Scala, Clojure, etc. software engineer; well-written, enjoyable, concise.<p>Practical Object Oriented Design in Ruby by Sandi Metz is a fun read packed with good principles for working in Ruby that are applicable in general to object oriented programming.<p>Smalltalk Best Practice Patterns by Kent Beck is worth a read because the general principles are applicable to any OOP language.<p>Clean Code by Robert Martin is excellent but a time commitment. (If you had to pick between SICP and Clean Code because time is at a premium I&#x27;d err on the side of Clean Code for practicality. Writing maintainable code is paramount.)<p>The Joy of Clojure (Fogus&#x2F;Houser) is excellent and mentally digestable even if you have no Lisp or Clojure background.
评论 #9760607 未加载
cjpa将近 10 年前
The Little Schemer By Daniel P. Friedman and Matthias Felleisen - <a href="https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;index.php?q=books&#x2F;little-schemer" rel="nofollow">https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;index.php?q=books&#x2F;little-schemer</a><p>Why&#x27;s poignant guide to Ruby - <a href="http:&#x2F;&#x2F;mislav.uniqpath.com&#x2F;poignant-guide&#x2F;book&#x2F;" rel="nofollow">http:&#x2F;&#x2F;mislav.uniqpath.com&#x2F;poignant-guide&#x2F;book&#x2F;</a>
sebg将近 10 年前
SICP (Structure and Interpretation of Computer Programs) - <a href="https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;sicp&#x2F;full-text&#x2F;book&#x2F;book-Z-H-4.html#%_toc_start" rel="nofollow">https:&#x2F;&#x2F;mitpress.mit.edu&#x2F;sicp&#x2F;full-text&#x2F;book&#x2F;book-Z-H-4.html...</a> (free version)
评论 #9758911 未加载
abecedarius将近 10 年前
Knuth: he&#x27;s an excellent writer with a sense of humor.<p>Anything coauthored by Kernighan is a good bet, though the material is not quite so ageless. Similar remarks for P.J. Plauger.<p>Norvig doesn&#x27;t just write exquisite code, but good prose too.<p>I always liked Abelson &amp; Sussman&#x27;s style, even though it&#x27;s more textbookish. Abelson also co-wrote Turtle Geometry, which is almost unknown these days and still eye-opening. (It&#x27;s more of a math book than a programming one, but its point is to be both.)<p>Daniel Hillis: The Pattern on the Stone, The Connection Machine.<p>Richard O&#x27;Keefe, The Craft of Prolog.<p>Jon Bentley.<p>I remember pg&#x27;s On Lisp as good.
Sukotto将近 10 年前
Programming Pearls: Jon Bentley<p>The Pragmatic Programmer: Hunt and Thomas<p>The C Programming Language: Kernighan and Ritchie
评论 #9761340 未加载
a_bonobo将近 10 年前
Check out the Stealing The Network series if you&#x27;re into security -<p>it&#x27;s a bunch of short stories about network security usually written from the POV of a hacker who&#x27;s trying to gain access to a system. The stories are very tech-heavy to the point that parts of the stories are non-fiction, with huge excerpts from console sessions and the like.
jaryd将近 10 年前
Might be an unpopular language but &quot;Learning Perl&quot; was pretty helpful for me when I was coming up.
评论 #9758015 未加载
评论 #9758036 未加载
评论 #9758421 未加载
mdm_将近 10 年前
My favorite is Javascript: The Good Parts by Douglas Crockford. It&#x27;s clear, concise, the railroad diagrams are super helpful, and from what I&#x27;ve seen of Crockford&#x27;s lectures on YouTube, it also really captures his voice.
S4M将近 10 年前
My favorite one is Paradigms or Artificial Intelligence Programming: <a href="http:&#x2F;&#x2F;norvig.com&#x2F;paip.html" rel="nofollow">http:&#x2F;&#x2F;norvig.com&#x2F;paip.html</a>
justincormack将近 10 年前
Programming in Lua by Roberto Ierusalimschy is one of the best introductions to any programming language. Hw writes the new version along with each language release now, on the grounds that if you cannot explain it right then the language feature probably needs fixing.
评论 #9758227 未加载
itg将近 10 年前
I really enjoyed Land of Lisp <a href="http:&#x2F;&#x2F;landoflisp.com" rel="nofollow">http:&#x2F;&#x2F;landoflisp.com</a>
blackle将近 10 年前
Operating Systems: Design and Implementation - Andrew S. Tanenbaum<p>Always a good one when you want to brush up on arcane knowledge.
numeromancer将近 10 年前
I like The Little Book of Semaphores: <a href="http:&#x2F;&#x2F;greenteapress.com&#x2F;semaphores&#x2F;" rel="nofollow">http:&#x2F;&#x2F;greenteapress.com&#x2F;semaphores&#x2F;</a>
henesy将近 10 年前
Common Lisp: A Gentle Introduction to Symbolic Computation by David S. Touretzky is solid for learning the fundamentals of thinking in and writing lisp.<p><a href="http:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~dst&#x2F;LispBook&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~dst&#x2F;LispBook&#x2F;</a><p>Bump for the K&amp;R as well, great book, helped me get my feet wet with C quickly and effectively.
justin66将近 10 年前
Michael Kerrisk&#x27;s <i>The Linux Programming Interface</i> is truly great.
idlemind将近 10 年前
My favourites are more about the general craft of software development than specifics e.g.<p>The Pragmatic Programmer: Hunt and Thomas<p>The Mythical Man Month: Frederick Brooks
评论 #9757988 未加载
mavelikara将近 10 年前
Functional Programing in Scala (<a href="http:&#x2F;&#x2F;www.manning.com&#x2F;bjarnason&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.manning.com&#x2F;bjarnason&#x2F;</a>)<p>More recent than most books mentioned here, but I found it remarkably well-written. Irrespective of what happens to Scala, this book has a good chance to be useful 10 years from now.
lurdawg将近 10 年前
Computer Systems: A Programmer&#x27;s Perspective by Randal E. Bryant, David R. O&#x27;Hallaron<p><a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Computer-Systems-Programmers-Perspective-Edition&#x2F;dp&#x2F;013409266X" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Computer-Systems-Programmers-Perspecti...</a>
more_original将近 10 年前
&quot;Effective Java&quot; by Joshua Bloch is very good.
jjmanton将近 10 年前
I really enjoy the Big Nerd Ranch books, although I am a bit biased because they sign my paychecks.
评论 #9758072 未加载
agumonkey将近 10 年前
A curated PLT (Programming language theory) list : <a href="http:&#x2F;&#x2F;steshaw.org&#x2F;plt&#x2F;" rel="nofollow">http:&#x2F;&#x2F;steshaw.org&#x2F;plt&#x2F;</a><p>A Github hosted list of free programming books (merging SO and other sources): <a href="https:&#x2F;&#x2F;github.com&#x2F;vhf&#x2F;free-programming-books&#x2F;blob&#x2F;master&#x2F;free-programming-books.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vhf&#x2F;free-programming-books&#x2F;blob&#x2F;master&#x2F;fr...</a>
cosmolev将近 10 年前
It&#x27;s not even published yet, but based on the 7 of 11 chapters available I can say the book gonna be really fundamental.<p>Designing Data-Intensive Applications<p>The Big Ideas Behind Reliable, Scalable, and Maintainable Systems<p>By Martin Kleppmann<p><a href="http:&#x2F;&#x2F;shop.oreilly.com&#x2F;product&#x2F;0636920032175.do" rel="nofollow">http:&#x2F;&#x2F;shop.oreilly.com&#x2F;product&#x2F;0636920032175.do</a><p><a href="http:&#x2F;&#x2F;dataintensive.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dataintensive.net&#x2F;</a><p>The author has great sense of humor.
sebastianconcpt将近 10 年前
A remarkable classic <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Design-Patterns-Elements-Reusable-Object-Oriented&#x2F;dp&#x2F;0201633612" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Design-Patterns-Elements-Reusable-Obje...</a><p>And Kent Beck&#x27;s <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Smalltalk-Best-Practice-Patterns-Kent&#x2F;dp&#x2F;013476904X" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Smalltalk-Best-Practice-Patterns-Kent&#x2F;...</a>
sanoli将近 10 年前
This gem is too often left out:<p>How to Design Programs - An Introduction to Programming and Computing<p><a href="http:&#x2F;&#x2F;www.htdp.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.htdp.org&#x2F;</a>
jrw将近 10 年前
In addition to those already mentioned:<p>- Stevens: Advanced Programming in the Unix Environment<p>and more recently,<p>- Kerrisk: The Linux Programming Interface.<p>Also, almost anything by Kernighan (with several different co-authors).
macintux将近 10 年前
For both entertainment value and incisive exploration of dark corners in the language, &quot;Expert C Programming: Deep C Secrets&quot; is a fantastic book.
burncycle将近 10 年前
Accelerated C++ by Andrew Koenig and Barbara Moo (<a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Accelerated-C-Practical-Programming-Example&#x2F;dp&#x2F;020170353X" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Accelerated-C-Practical-Programming-Ex...</a>). One of the best introductory programming books, and one of the best introductory books in general, that I&#x27;ve ever read.
vollmond将近 10 年前
Clean Code -- Robert C. Martin
akbar_R将近 10 年前
Taming text <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Taming-Text-Find-Organize-Manipulate&#x2F;dp&#x2F;193398838X" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Taming-Text-Find-Organize-Manipulate&#x2F;d...</a> Natural Language Processing with Python <a href="http:&#x2F;&#x2F;www.nltk.org&#x2F;book&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.nltk.org&#x2F;book&#x2F;</a>
pels将近 10 年前
C# in Depth by Jon Skeet is amazing and is great to brush up your C# skills! A word of warning though: it&#x27;s excellent for developers with experience in .NET, but does not serve as an introduction to the language&#x2F;framework. The knowledge is not easily applicable to other languages either. That aside - it is still the best programming book I&#x27;ve read thus far.
rubiquity将近 10 年前
Eloquent Ruby is one of my favorite books, too. That book really motivated me to learn how programming languages work. Here are a few other books I found to be enjoyable and well-written:<p>Programming Erlang by Joe Armstrong<p>Programming Elixir by Dave Thomas<p>Seven (more) Languages In Seven Weeks by Bruce Tate<p>Think Bayes, Think OS, How To Think Like A Functional Programmer (Think OCaml) and The Little Book of Semaphores by Allen B. Downey
dtamhk将近 10 年前
Higher-Order Perl <a href="http:&#x2F;&#x2F;hop.perl.plover.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;hop.perl.plover.com&#x2F;</a>
deepaksurti将近 10 年前
The Elements of Computing Systems: <a href="http:&#x2F;&#x2F;www.nand2tetris.org" rel="nofollow">http:&#x2F;&#x2F;www.nand2tetris.org</a>. A great, fun, do it yourself projects with subtle hints to move forward. Helps you lay a good foundation for programming.<p>Helped me a lot when I ventured into 3D graphics and game programming.
joshvm将近 10 年前
Code by Charles Petzold<p>Not so much programming, but very good if you&#x27;re interested in how your computer actually works.
tswartz将近 10 年前
Geek Sublime by Vikram Chandra. The connections between the worlds of art and technology.<p><a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Geek-Sublime-The-Beauty-Code&#x2F;dp&#x2F;1555976859" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Geek-Sublime-The-Beauty-Code&#x2F;dp&#x2F;155597...</a>
Galanwe将近 10 年前
&quot;Large Scale C++ Software Design&quot; by John Lakos<p>This book made me understand that writing software is not just about creating opaque binaries with _stuff_ inside. It&#x27;s also about what does this binary depends on, which symbols does it exports, how is it built, etc.
alphaBetaGamma将近 10 年前
While on this subject, would anybody recommend a book in french? It would be for my nephew who is quite smart, high-school age, and knows java an python. I would like to expose him to something different: lisp, or functional programming.
评论 #9759480 未加载
sayems将近 10 年前
Thinking in Java, Java Generics and Collection, Head First Design Patterns
hacym将近 10 年前
Any suggestions on theory books (not exclusively on a language) that isn&#x27;t too dense? Not looking for a textbook, but something that is a lighter read that can help me with the logical parts of programming.
mattsaintdev将近 10 年前
Fortran&#x2F;ClearWin+ simple and to the point<p><a href="http:&#x2F;&#x2F;www.silverfrost.com&#x2F;manuals&#x2F;clearwin.pdf" rel="nofollow">http:&#x2F;&#x2F;www.silverfrost.com&#x2F;manuals&#x2F;clearwin.pdf</a>
hbharadwaj将近 10 年前
Eloquent JavaScript by Written by Marijn Haverbeke
jrochkind1将近 10 年前
Design Patterns: Elements of Reusable Object-Oriented Software <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Design-Patterns-Elements-Reusable-Object-Oriented&#x2F;dp&#x2F;0201633612&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Design-Patterns-Elements-Reusable-Obje...</a><p>Practical Object-Oriented Design in Ruby by Sandi Metz. <a href="http:&#x2F;&#x2F;www.poodr.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.poodr.com&#x2F;</a>
评论 #9758856 未加载
jashkenas将近 10 年前
Yo progg&#x27;n books — I&#x27;m really happy for you, I&#x27;ll let you finish, but The Poignant Guide is one of the best books on programming of all time. One of the best of all time!<p><a href="http:&#x2F;&#x2F;mislav.uniqpath.com&#x2F;poignant-guide&#x2F;book&#x2F;chapter-1.html" rel="nofollow">http:&#x2F;&#x2F;mislav.uniqpath.com&#x2F;poignant-guide&#x2F;book&#x2F;chapter-1.htm...</a>
revskill将近 10 年前
The Design Patterns book
HugoDaniel将近 10 年前
Parallel and Concurrent Programming in Haskell By Simon Marlow
slvn将近 10 年前
the d programming language by andrei alexandrescu (ISBN-13: 978-0321635365)
desbest将近 10 年前
C in Easy Steps