views:

1543

answers:

34

In your CS career, which book dramatically changed your way of approaching problems?

Most Frequently mentioned:

  • Code Complete (MS Press)
  • The Pragmatic Programmer
  • Martin Fowler's Refactoring, and Head First Design Patterns.
  • The original GoF Design Patterns
  • Structure and Interpretation of Computer Programs
  • How To Solve It
+20  A: 

Martin Fowler's Refactoring, and Head First Design Patterns.

David Kemp
Also check out Pragmatic Programmer, And Kent Beck's Implementation Patterns. Domain Driven Design (Evans) is also a classic (but a but of a slog)
David Kemp
+4  A: 

The Inmates Are Running the Asylum by Alan Cooper

Elie
+5  A: 

eXtreme Programming Explained: Embrace Change - Kent Beck

Manrico Corazzi
+30  A: 

CodeComplete

By Steve McConnell
ISBN 0-7356-1967-0 (2nd edition)
Microsoft Press

Via Paul Lalonde very high knowledge of this book

vIceBerg
+10  A: 

Structure and Interpretation of Computer Programs. I learned many valuable things from that book, but the most dramatic change was in the point of view that all programming is language design. All libraries and subroutines object classes and such are ways of extending the language to create a new language in which you solve your problem.

Glomek
+31  A: 

The Pragmatic Programmer

Manrico Corazzi
+14  A: 

The original GoF Design Patterns. I felt like I'd leveled up after each chapter.

Bill the Lizard
"Leveled up"? That's an interesting way to phrase it. But I agree.
Thomas Owens
Sorry if that's a bit obscure. Here's a URL that explains it. http://en.wikipedia.org/wiki/Experience_point#Level-based_progression
Bill the Lizard
+5  A: 

Domain Driven Design by Eric Evans

alasdairg
+14  A: 

Gödel, Escher, Bach: an Eternal Golden Braid - Douglas Hofstadter

Manrico Corazzi
+2  A: 

"Hardcore Zen" and "Sit Down and Shut Up", both by Brad Warner.

Their influence isn't just due to their coherent and appealing explanation of Zen meditation. I'd been practicing Zen for years before I read them.

No, what these books really offered me is a great example of getting to the real heart of an issue by throwing away the dogma and looking at the situation with fresh eyes. So often when we're faced with an unsolvable problem, it's because some of our lower-level assumptions make the problem unsolvable.

With teaching Zen, Warner realized that the dogma isn't the point. Freed from the typical methods of teaching Zen, he came up with an even cleaner and more elegant method of doing so. He tossed the bathwater and kept the baby.

Every time I've overcome a major, seemingly intractable snag in a program, it's because of a question I wasn't asking myself that I should have. And I wasn't asking the question because I'd already assumed an answer instead of actually seeing the problem and formulating it.

Both Warner's example and the practice of Zen meditation showed me how to throw out my assumptions and build a problem space entirely from scratch.

Jason L
+1 great answer - thanks for a non-programming related book recommendation :o)
Andrew
If I assume downvote means "this doesn't answer the question", then I'm confused. God knows, when trying to create mental models of the world around you that transfer to binary representation, maintaining good mental hygiene and keeping awareness of your problem-space axioms is totally useless.
Jason L
Well, at least someone appreciates a non-conventional approach. ;)
Jason L
A: 

Crystal Clear by Alistair Cockburn

tvanfosson
+3  A: 

Software Tools by Brian W. Kernighan and P. J. Plauger

Bryan Oakley
+2  A: 

"Software Tools" by Brian Kernighan, P.J.Plauger.

The book predates both C and UNIX but had a deep influence on both. And a deep influence on the way I worked and approach problems. Its still a good read if you can get your head around the "Ratfor" program examples.

James Anderson
A: 

Marvin Minsky's books

Mike Dunlavey
A: 

"Soul of a New Machine" - Tracy Kidder(?)

Taught me a lot about burn-out and work-life balance.

Paul Tomblin
+2  A: 
EnderMB
+1  A: 

It was a while ago, but Ted Patison's

Programmimg Distributed Applications With Com+ and Microsoft Visual Basic 6.0

More recently, Domain Driven Design by Eric Evans

alt text

Charles Bretana
yeah same for me +1
jpg
A: 

Having already voted up McConnell's Code Complete, I'll add Getting To Yes by Roger Fisher and William Ury which succinctly outlines key practices in conducting win-win negotiations. Whether talking to team members, project managers, internal departments or external clients, most developers spend at least some of their time in negotiations over features, technologies, timescales etc. Finding an effective way to get the best out of these negotiations is an important skill.

When I first read Getting To Yes many years back, it helped me to get a grip on using negotiations to reach acceptable solutions rather than treating them as an exercise in winning arguments. I suspect it also had a subtle but profound effect on the way that I write code. It's one of those deceptively simple books that seems obvious once you've read it but can have a wide-ranging impact on your professional practice.

Simon Forrest
+2  A: 

I cannot pick one book because there are three of them that deeply influenced my software developer carrier:

  • Code complete, Steve McConnell, first edition. I read it around 1994 and it was a book that explained fine craft of software development. I still have it and in my opinion it is the book that every programmer must read.

  • Design Patterns, GoF. I got this one around 1997. Book is so hard that I needed 6 months to read and study pattern catalog. Since then, I'm reading it whenever I am not sure about some pattern. "Head first design patterns" is also great book, but it is to verbose. When I need details about implementation, "Design Patterns" is the really good reference. Drawback is that book is very dense and hard to read.

  • Domain driven design, Eric Evans. This is the book that taught me how to effectively design object models. I read lots of books in this area, but this one is high above others. "Code Complete" taught me a craft and this one taught me fine design.

zendar
+1 for DDD... This was a major influence on me...
Charles Bretana
+1  A: 

The Art of Unix Programming by Eric S. Raymond. Given the infatuation with architectures like J2EE and event the so called "lightweight" containers such as Spring and others, "The Art of Unix Programming" presents an alternative way of solving problems that is tried and true and does actually make some otherwise difficult things easy. For example, efficiently using multi-threading and multi-core hardware is much easier with the approaches described in the book. Plus, it's a good read :)

Maciej Zawadzki
+2  A: 

In no particular order:

Dan
+2  A: 

Four of them come to mind at once (and you can tell how far back this was):

  1. The Report on the Algorithmic Language ALGOL 60 was earth-shattering for me when I stumbled upon it in 1961.

  2. Peter Landin's triple-threat: "The Mechanical Evaluation of Expressions [MEE]", "A Correspondence between ALGOL-60 and Church's lambda notation," and "The Next 700 Programming Languages" (all mid-60s)

  3. Donald Knuth's The Art of Computer Programming, all volumes but especially vol.1 (along with his "Literate Programming" and Selected Works).

  4. Edsger Dijkstra's A Discipline of Programming, 1976.

  5. ADDED LATER: On reflection, I notice that this book has had a profound influence on my attitude toward development of dependable software: Robert C. Solomon and Fernando Flores, "Builkding Trust in Business, Politics, Relationships, and Life," Oxford University Press (New York: 2001), ISBN 0-19-516111-4 pbk. I summarize some of the importance for me in the post "Trust but Demonstrate."

orcmid
+1 for ALGOL-60, Knuth and Dijkstra
mas
+5  A: 
jamesh
Definitely a classic.
Bill the Lizard
+1  A: 

This from the beginning of my career...

"The Spirit of C, An Introduction to Modern Programming" by Henry Mullish and Herbert L. Cooper.

That was one of the best C books.

And, of course "The C Programming Language" by Brian Kernighan and Dennis Ritchie.

-R

Huntrods
+5  A: 

How To Solve It by G. Polya. A book of heuristics for solving mathematical problems, but applicable to just about any problem. Assigned reading for one of my mathematics classes, this is one of very few university books I still refer to decades later.

Dour High Arch
I wish I could vote up multiple times - this is an excellent book that touches on any aspect of problem solving.
Tim Whitcomb
+2  A: 

I would have to say The Design of Everyday Things by Donald Norman. This explains how many everyday objects are poorly designed, and some that are done very well.

Ascalonian
A: 

Looking at my bookshelf, from most general to most specific, my most-used books are:

  • The Design of Everyday Things
  • The Visual Display of Quantitative Information
  • Programming Pearls (first edition, along with More Programming Pearls)
  • The Art of Computer Programming (all three volumes)
  • Numerical Recipes (C edition)
  • Jim Blinn's Corner (all there volumes)
  • Graphics Gems (all five volumes)

The strength of every one of the above books is its mindset. I find myself returning to them time and time again to help me maintaining the ever-important balance overall design and the minutiae of the actual coding. Every other computer book on my bookshelf is a reference book of one kind or another, all trees but no forest. Useful detailed technical data, sure, but nowadays almost always as easy to find online.

+1  A: 

The latter book started me on a journey towards understanding Domain-Driven Developement and Software Factories - a journey only just begun, as I will need to read "Software Factories: Assembling Applications with Patterns, Models, Frameworks, and Tools" by Jack Greenfield, Keith Short, Steve Cook, and Stuart Kent several more times before I understand it.

John Saunders
+3  A: 

The Mythical Man-Month, Frederick Brooks.

Sarah Mei
A: 

Object Oriented Design with Applications, by Grady Booch

Ramiro Gonzalez Maciel
A: 

Peopleware, Tom DiMarco

Pablo R
A: 
  • Object Thinking - David West
talonx
A: 

not a book but this simple wheel (repeatable technique) -

for each problem start at 12 and go clockwise rinse and repeat =>

problem solving wheel

jpg