Programming book recommendations. - Printable Version
+- nixers (
+-- Forum: Development & Graphics (
+--- Forum: Programming On Unix (
+--- Thread: Programming book recommendations. (/showthread.php?tid=2296)

Programming book recommendations. - phillbush - 24-03-2020

  • 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.

RE: Programming book recommendations. - ckester - 24-03-2020

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.

RE: Programming book recommendations. - ckester - 24-03-2020

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.

RE: Programming book recommendations. - venam - 25-03-2020

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

RE: Programming book recommendations. - ckester - 25-03-2020

But Ulrich Drepper is wrong about static vs. dynamic linking.
I side with the folks on that issue.