Lurker News
I'm relatively new to CS (4 years) and I've seen a lot of great book recommendations here. But every discipline has it's most fundamental books ... e.g. philosophy -> Socrates, Plato, Aristotle, civil law -> code civil, christianity -> bible, etc. one should read to get a truly deep understanding.

What are those books for CS?

Comments (192) 79 threads

Earlier comments
e12e1 reply#
Good recommendations in this thread, but seems a bit thin on the data side - both in terms of abstract datatypes, and in terms of database theory.

I don't have a concrete recommendation off-hand - but certainly something by Codd on databases/normalization should be on such a list?
A lack of understanding data normalization can hurt even "simple" code that uses structs and procedures.

Tomte1 reply#
For database theory probably something from C.J. Date.
e12e#
Relevant (to TFA) quote from the interview:

> A related piece of advice is: Learn the relational model first, SQL second (doing it the other way around is hard). Finally, read either or both of Ted Codd’s first two papers every year. (Those papers are “Derivability, Redundancy, and Consistency of Relations Stored in Large Data Banks”, IBM Research Report RJ599, August 19th, 1969, reprinted in ACM SIGMOD Record 38, No. 1 (March 2009), and “A Relational Model of Data for Large Shared Data Banks”, CACM 13, No. 6, June 1970, which you can find online.)
Ed:
DERIVABILITY, REDUNDANCY CONSISTENCY OF RELATIONS STORED IN LARGE DATA BANKS E. F. Codd:
http://domino.research.ibm.com/library/cyberdig.nsf/papers/B...
A relational model of data for large shared data banks:
http://www.seas.upenn.edu/~zives/03f/cis550/codd.pdf

tabtab1 reply#
A big problem is that software organization success largely depends on "soft sciences" like psychology and physiology. Science may find ways to make faster machines, but being that the actual bottlenecks are the cost of humans reading code and designs and managing changes to systems, the human grokkability factor is usually the largest.

Software should be written mostly with humans (code readers) in mind, and not machines. The soft sciences are much harder to study; it's expensive to use trial and error on real projects in order to compare outcomes. Equations on a blackboard or chips in a lab are probably not where most real IT revelations will come from.
There are pet theories that focus on overly-narrow factors. For example, those who focus on linguistic parsonomy (less code) may conclude that functional programming is "better" because it usually can be made the most compact. However, a good many coders have a hard time working well with functional programming. Some take a Darwinian view and say "fire them all and hire elite functional coders". But so far that has rarely paid off in the market-place, barring a few grow-fast-at-all-costs startups. Short code is not always legible code to the majority of coders.

instantnoodler1 reply#
I mean no offense but this is a crap answer. They're asking for book recommendations.
tabtab#
I guess what I'm trying to say is that there are no books that address and "solve" the real issues of typical software design, and I am explaining the reason why there are no such books. It's kind of like asking for good books on Pluto before any probe had visited Pluto: you are only going to find a lot of speculation.

The closest thing are books with specific examples that explain the trade-offs made and try to find general rules and apply them to the examples. But I find such to be either mostly opinions, or too vague to apply in practice. At best they exercise your brain in terms of questions to ask in exploring the different design options, but they don't give clear-cut rules for the final choice that stand up to scrutiny.
They can tell you about the kinds of beasts you'll encounter in the dark forest, and give suggestions for defeating the beasts, but the recipes for success are either subjective or nebulus, yet to be subjected to real testable science. They could be if some research institution spent big bucks on it, but so far nobody has.
Our field has a "science gap" which results in a book gap. The blunt truth is that IT is more about people than machines or math.

giancarlostoro#
Green Tea Press has some good ones, "How to Think Like a Computer Scientist" one with Java and one with Python, they're open source books so some people have produced more interactive (browser) books.

https://greenteapress.com/wp/

todd8#
Pearls of Functional Algorithm Design by Richard Bird. Is a collection that demonstrates through thirty small examples spread over the same number of chapters, the appeal of functional programming. Most books on functional programming get a bit bogged down on a particular language, this one doesn't.

Load more comments