News for hackers. Stuff that matters.

Ask HN: Programming books to read while on vacation?

Hey guys,

I am leaving for a weeklong vacation tomorrow and I am looking for a book to read while I am there. I asking for any recommendations of programming books that I can find.

I just recently started learning python, so something related to that would be convenient, also I will not have access to a computer, so having to work along with the book would be out of the question. I'm trying to find a nice book to assist me in my digital travels into the programming world!

I would appreciate any response. Thanks.

( 31 comments | 21 points | on HN )
Re:Ask HN: Programming books to read while on vacation? by SwellJoe on Sunday August 16, 2009 @03:53PM (#766598)
Try some fiction, instead. It's a vacation. I just finished The Road by Cormac McCarthy a couple of weeks ago. It's really good.

That said, if you're going to read programming books, you might want narrative texts rather than "practical" books, since the practical ones require you to also have a computer, and work through the examples and such. Books like Programming Pearls, Beautiful Code, etc. tell stories about code, rather than just show you code (though there are probably moments in either book where the best course of action is to try applying what you've read about).

Re:Ask HN: Programming books to read while on vacation? by tptacek on Sunday August 16, 2009 @04:44PM (#766699)
Cormac McCarthy is a depressing motherfucker. I'm halfway through Blood Meridian and ready to slit my wrists. Good programmer read: A Supposedly Fun Thing I'll Never Do Again, by David Foster Wallace.
Re:Ask HN: Programming books to read while on vacation? by johnbender on Sunday August 16, 2009 @05:11PM (#766752)
Blood Meridian made me a McCarthy fan.
Re:Ask HN: Programming books to read while on vacation? by samg on Sunday August 16, 2009 @08:52PM (#767093)
Another great hacker fiction read: Cryptonomicon by Neal Stephenson
Re:Ask HN: Programming books to read while on vacation? by fuzzmeister on Sunday August 16, 2009 @05:40PM (#766814)
The Road really is a fantastic book, makes you think about how rapidly humanity would change if civilization dissolved. Can't wait for the movie to come out this fall.
Re:Ask HN: Programming books to read while on vacation? by wkdown on Tuesday August 18, 2009 @04:59PM (#771449)
I'd like to second Beautiful Code Enjoyable vacation read.
Re:Ask HN: Programming books to read while on vacation? by defunkt on Sunday August 16, 2009 @04:29PM (#766664)
Grab The Little Schemer and a notebook. Do all exercises in the notebook with a pencil, without a computer.

It'll make you a better Python programmer for sure.

Re:Ask HN: Programming books to read while on vacation? by colbyolson on Sunday August 16, 2009 @07:11PM (#766937)
Forgive me for asking, but how could that book help me down the road? Scheme seems so obscure to me. I was at the bookstore and checked it out, and was mildly intimidated by it, although the illustrations were cute.

I ended up purchasing Practical Programming. Thank you all for your recommendations, some I have saved into my reading list.

PDF Sample: http://media.pragprog.com/titles/gwpy/toc.pdf

Amazon link: http://www.amazon.com/Practical-Programming-Introduction-Pra...

Re:Ask HN: Programming books to read while on vacation? by Scriptor on Sunday August 16, 2009 @08:12PM (#767034)
It's not really meant to just teach you scheme. Scheme by itself is incredibly minimalist and simple. The exercises are more logic/math-based puzzles. Here's a list of the exercises themselves:

http://www.ccs.neu.edu/home/matthias/BTLS/exercises.ps

Re:Ask HN: Programming books to read while on vacation? by herdrick on Sunday August 16, 2009 @08:51PM (#767092)
TLS will break your mind in the most delicious way. I can't recommend it enough. As for practicality, I think that the world is trending in directions that make becoming comfortable with recursion more important.
Re:Ask HN: Programming books to read while on vacation? by skwaddar on Monday August 17, 2009 @04:04AM (#767592)
You made the wrong choice, TLS would have changed your world. Now you're slumming it.
Re:Ask HN: Programming books to read while on vacation? by weaksauce on Sunday August 16, 2009 @04:59PM (#766731)
"Hackers and Painters" or "Founders at Work" are both good books if you haven't picked them up yet. Not language learning or directly programming but interesting none the less.

A book more directly related to programing would be "Structure and Interpretation of Computer Programs" or "The Little Schemer." bring a notebook and do problems out of them like defunkt said and it will help in all your programming.

Re:Ask HN: Programming books to read while on vacation? by pmorici on Sunday August 16, 2009 @03:39PM (#766561)
Are you sure you want to read a programming book on your vacation? Esp. if your day job involves computers it doesn't sound like a vacation at all.

That said I find the best instructional material for Python is the tutorial included in the Python manual itself.

Re:Ask HN: Programming books to read while on vacation? by caffeine on Sunday August 16, 2009 @05:14PM (#766759)
Nobody's mentioned it here, yet: Godel Escher Bach
Re:Ask HN: Programming books to read while on vacation? by dandrews on Sunday August 16, 2009 @09:16PM (#767138)
Also consider Hofstadter's "Metamagical Themas", a collection of his Scientific American essays. A broad range of topics, lots of stuff to think about, and something on my shelf that I return to just for the pleasure. Good stuff.
Re:Ask HN: Programming books to read while on vacation? by dshah on Sunday August 16, 2009 @05:35PM (#766807)
I'll suggest The Pragmatic Programmer by Hunt and Thomas. Basic stuff, but lives up to the title of being "pragmatic".

If you're going to write commercial software for a living, it's useful stuff to know (or be reminded of).

Re:Ask HN: Programming books to read while on vacation? by jerf on Sunday August 16, 2009 @06:48PM (#766911)
I would recommend a classic that you haven't read that isn't directly about a specific programming language, since it would seem to me that the virtue of reading a book about a specific language when you aren't in front of a computer is dubious. (Note I didn't say it had no virtue, I just find it dubious. YMWV.)

Already mentioned is Code Complete and The Pragmatic Programmer. I'd add The Mythical Man Month, still a classic, but note that's a relatively short book and may not last long enough. (A depressing read in some ways; decades have passed and what's in the book is arguably common wisdom, yet I still encounter the errors outlined in that book every year.)

Godel, Escher, Bach (mentioned by caffeine) is a love it or hate it book; check out a couple of summaries and see what you think.

Personally, I don't recommend the SICP unless you're actually working through the exercises to some extent, and without a computer it's too easy to think you understand it when you don't.

If you have already read all those, well, I'd suggest replying and saying so. :)

Re:Ask HN: Programming books to read while on vacation? by josephruscio on Sunday August 16, 2009 @06:06PM (#766852)
Beautiful Code: Leading Programmers Explain How They Think (Theory in Practice) is not an instructional programming book per se, but more along the lines of what I would consider "vacation reading". Each of the chapters is a self-contained entity, authored by a different luminary, so you can read them in whatever order suits your fancy.
Re:Ask HN: Programming books to read while on vacation? by JunkDNA on Sunday August 16, 2009 @08:37PM (#767071)
I find that reading fiction on vacation really stimulates my programming brain. There's a lot to be said for letting your mind roam free for a bit. I believe PG talks about the value of letting your mind roam in one of his essays (or possibly Hackers and Painters). In particular, I've found Neal Stephenson's books to be great for this purpose. If you haven't read Cryptonomicon, Snow Crash, or Diamond Age, I would suggest reading one of them. It will satisfy your need for some "geek" content on vacation, without being all business.
Re:Ask HN: Programming books to read while on vacation? by cschep on Sunday August 16, 2009 @08:54PM (#767099)
I was going to suggest "Snow Crash" as well, so I'll just second it. Very cool book.
Re:Ask HN: Programming books to read while on vacation? by abesapien on Sunday August 16, 2009 @05:20PM (#766772)
Code Complete 2nd edition is a good and interesting book about programming in general. I also recommend these two because they are much lighter reads, and maybe better for a vacation: "The Passionate Programmer" and also "Masterminds of Programming: Conversations with the Creators of Major Programming Languages".

Another thing you could do is find some great piece of software by a well know Python hacker and read his code lol. You could put that code in some readable format on your Kindle, PDA, or Smartphone.

Re:Ask HN: Programming books to read while on vacation? by deutronium on Sunday August 16, 2009 @04:23PM (#766654)
I really enjoyed reading this book a fair few years ago on holiday "Stealing the network: how to own a continent" (http://www.amazon.com/Stealing-Network-How-Own-Continent/dp/...). Theres a few books in the series, they blend fiction with real security related attacks, its not strictly a programming book, they do delve into coding a few things if I remember correctly.
Re:Ask HN: Programming books to read while on vacation? by abecedarius on Sunday August 16, 2009 @05:03PM (#766739)
Since it's a vacation, here's a novel with lots of interesting ideas about ubiquitous computing, augmented reality, etc.: http://en.wikipedia.org/wiki/Rainbows_End

Fun with Python: http://www.amazon.com/Programming-Collective-Intelligence-Bu...

Re:Ask HN: Programming books to read while on vacation? by tim_church on Sunday August 16, 2009 @06:29PM (#766896)
Here are some similar threads on recommended books for hackers:

http://news.ycombinator.com/item?id=135185

http://news.ycombinator.com/item?id=348019

If you would rather relax with some fiction, try Little Brother by Cory Doctorow.

Re:Ask HN: Programming books to read while on vacation? by jleung on Monday August 17, 2009 @01:20AM (#767415)
For a programmer on vacation, I wouldn't recommend a technical book. Go for something that will exercise the right side of your brain, the parts that don't get as much work day-to-day. Your left-brain is what you're trying to rest and refresh; that's why you're on vacation after all.

I'd go for something on the far end of the spectrum; some forgotten modern classic that won't let your left-brain to kick in, like Return of the Native.

If you absolutely must have something technical, the aforementioned Neal Stephenson books are great, as are William Gibson books. The Little Schemer is a good book to go through while you're NOT on vacation.

Re:Ask HN: Programming books to read while on vacation? by TheElder on Sunday August 16, 2009 @05:29PM (#766784)
C# in Depth: What you need to master C# 2 and 3 by Jon Skeet

http://www.amazon.com/Depth-What-you-need-master/dp/19339883...

Re:Ask HN: Programming books to read while on vacation? by kstenson on Sunday August 16, 2009 @06:11PM (#766862)
I can't champion this book enough, if you're doing C# stuff then this book is a must have.
Re:Ask HN: Programming books to read while on vacation? by vibhavs on Sunday August 16, 2009 @07:25PM (#766954)
I suggest Beautiful Architecture from O'Reilly.

http://oreilly.com/catalog/9780596517984/

http://www.amazon.com/Beautiful-Architecture-Leading-Thinker...

It's similar to Beautiful Code (also mentioned here) with various chapters on different, independent topics: e.g. Facebook's data-centric architecture, Xen hypervisor, etc.

Re:Ask HN: Programming books to read while on vacation? by huhtenberg on Sunday August 16, 2009 @06:45PM (#766909)
Re:Ask HN: Programming books to read while on vacation? by rythie on Sunday August 16, 2009 @04:37PM (#766679)
You could read Sarah Lacy's "Once You're Lucky, Twice You're Good" (which was called "The Stories of Facebook, Youtube and Myspace" when I bought it in the U.K.)

It's a light read (suitable for a holiday) and it will inspire you to build your startup when you get back.

Re:Ask HN: Programming books to read while on vacation? by dimarco on Sunday August 16, 2009 @04:49PM (#766715)
Programming Pearls is nice to read while traveling. Doesn't really require a computer, essays are short.