Programming book recommendations. - Programming On Unix
phillbush
  • What books or web resources do you recommend for programming in general?
  • What books or web resources do you recommend for programming in Unix?

If you have some recommendation, please post a short personal review of the book.
ckester
For programming in Unix, Eric Raymond's _The Art of Unix Programming_ is essential. While it has its flaws, this book does a good job describing the philosophy and typical architectures of Unix programs. I particularly liked his discussion of various data file formats.

If you're on Linux, another essential book is Kerrisk's _The Linux Programming Interface_. In-depth explanation of the APIs and examples of how to use them.

A quirky but personal favorite on programming in general is P.J. Plauger's _Programming On Purpose_. It's an OLD book from the days of structured programming and is focused mainly on data transforms a la data flow diagrams (DFD's). I've found it to be a useful way to think about shell pipelines, but also how to structure a traditional program consisting of a main module and subroutines. His bit about lifting up one of the bubbles from the DFD and letting the other bubbles fall below it as its subroutines has always stuck with me -- along with his analysis of how which bubble you choose affects program structure.

(By the way, I highly recommend learning something about those old structured design techniques and DFD's in particular. It will shed a lot of light on Unix's pipes-and-filters model -- and also, oddly enough, prepare you for the more esoteric world of functional programming.)

Ousterhout's new book _A Philosophy of Software Design_ is also good, although I didn't find every chapter as useful as others. A little too object-oriented for my taste. But excellent advice on modular design.
ckester
D'oh! How could I list Kerrisk and not Stevens and Rago's _Advanced Programming in the UNIX Environment_?!? Similar content as Kerrisk but not Linux-centric.
venam
Regarding online web links there would be way too many.

While not all are books per say, my all time favorites, that I can remember, are:
Other than that I got the following computer-related physical books:
  • Clean Architecture - Robert Martin
  • The clean coder: A code of conduct for professional programmers - Robert Martin
  • Software Architecture in Practice 3rd edition
  • Building evolutionary architectures - Neal Ford
  • Domain-Driven Design - Eric Evans - Currently reading, almost done
  • Beyond software architecture: Hohmann
  • Computer Architecture: A Quantitative approach - Hennesy Patterson
  • Compilers - Aho Lam Seth Ullman
  • Operating system concepts - Silberschatz
  • Algorithms: Sedgewick
ckester
But Ulrich Drepper is wrong about static vs. dynamic linking.
I side with the suckless.org folks on that issue.
:)




Members  |  Stats  |  Night Mode