Lurker News
Most of the highly recommended books for software developers are about 400 pages. Sometimes I want to start and finish a book in a weekend and 400 is too much for me. Which books under 200 pages do you recommend to software developers?

Bonus: Best non-tech books under 200 pages https://www.goodreads.com/list/show/19194.Best_Books_Under_200_Pages

Comments (102) 42 threads

afarrell7 replies#
A Philosophy of Software Design.

Very well-written. At 190 pages, quite likely finish-able in a weekend. But if you get 70% of the way through it, that is still very valuable. It makes sense as an underlying set of principles that explain why you would use design patterns.

numbsafari#
This is a great book. Highly recommended for inclusion in a “thin” bookshelf.
shoulderfake#
An absolute must have I agree, amazing book.
code_biologist#
I came into this thread hoping to find the suggestion near the top.

Beyond his credibility as the creator of Tcl, in the talk he gave at Google about the book [1] he describes the course he teaches that was the inspiration for the book. The course is to write a word processor with a team and extended it with features over the semester, swapping codebases between teams so occasionally you have to work with other's code. Essentially the largest possible code project you can fit in one semester. Along the way, Ousterhout will give a deep code review of the each project. I think it must be very insightful to see the same project implemented so many ways, and to see what works in terms of simplicity and extensibility.
[1] https://www.youtube.com/watch?v=bmSAYlu0NcY

diab0lic#
I came here to recommend this one, very digestible and has had a significant impact on the quality of the software I write.
gregfjohnson#
This book brilliantly illuminates the deepest issues at the core of software development. It is a well-written, gentle read. I have been programming for close to 50 years now, and this is probably the best and most insightful book I have ever read on software development. Its deceptive simplicity is such that a first-year programmer would benefit from it. Read it once per decade! You will get more out of it each time as you mature as a developer.
mannanj2 replies#
I see only positive reviews for this book here, but I went to look it up on amazon and the first review doesn't look particularly good and I'm looking for anyones reason to refute this:

"This book does not consider functional programming, or the fact that terrible software in modern times is often the result of layers of incorrect abstraction that are often induced by the overuse of "object oriented" (OO) programming techniques. Instead, it takes OO programming for granted as being a good thing (visible in its preferences for two OO languages, C++ and Java), and then it reasons in that domain, making it totally uninteresting to many potential readers. The book also assumes that formal design doesn't work (he calls it "waterfall"), and takes alternatives for granted. I doubt the author is even aware of his inherent bias, but it is incredibly strong."
Does anyone here agree or disagree with these points?

jwdunne#
Hrm, I read the book and the code samples were in mainstream languages, naturally, but there wasn’t a specific reference to OO. Algorithms by Sedgewick had more reference to OO but we don’t say that book is overly biased towards OO.

The text isn’t about implementation or paradigm. It’s about things applicable in software design in general. For example, good interfaces are deep, rather than shallow. The examples of narrow interfaces are in Java because they were good examples. If you have to instantiate 5, 6 objects to use an interface, the interface is not deep. But if you had to do the same thing in a CLI interface or a GUI, it’s the same idea. You could apply the same ideas to functional APIs.

floppy-disk3 replies#
I would not agree that the bias towards OOP is a problem in the book, since most of the concepts are paradigm-agnostic. Nevertheless, I feel that the author exposes a rather opinionated (sometimes even dogmatic) and narrow view of software design.

Although I think that the book provides a lot of very valuable insights, I missed a more differentiated view of the concepts presented in the book. For example, in chapter 4 ("Modules should be deep") Ousterhout dismisses the use of small classes and methods. He argues that using many small classes and methods makes the system as a whole more complex because many little pieces have to be managed. I completely agree with that statement. But only under the assumption that software systems are static and never-changing. If we consider software systems as ever-changing, I would argue that using smaller pieces often provides the flexibility necessary for maintaining large systems.

derangedHorse1 reply#
I've also noticed that point in one of his talks and disagreed with it immediately. My own experiences have found small components easier to test and reason about in higher level components. I do think that navigating through a codebase with a lot of small files would make the codebase seem a lot more complex (especially without a modern code editor where you can't do things like click on an interface method and see all its implementations), but the biggest drawback of having small components, in my opinion, is that a lot of the developers I've observed are very bad at drawing coherent software boundaries

Continue this thread — 1 reply

Continue this thread — 2 replies

afarrell#
I think that would be better off in a different book rather than as a part of this book.

It is better to provide a clear and memorable picture that is only slightly wrong than a hedging and muddled picture that is still slightly wrong.

nickbauman#
I don't find design patterns very compelling unless you're stuck with underpowered statically-typed languages like Java. There, they serve somewhat as a way out of the straight jacket. In more powerful languages there are better, simpler ways to design your systems.
WalterBright6 replies#
"The Elements of Style", by Strunk & White. 92 pages.

For example, page 19: "Put statements in positive form."
Code is improved if booleans are put in positive form, such as replace:

    if (!featureIsDisabled()) ...
with:

    if (hasFeature()) ...
You might laugh, but I see the first form all the time. Sometimes I go on a refactoring mission to remove as many negations, nots, and bangs from the code as possible.
harry8#
Ever used a router command line from Cisco, arista etc? Switch on a port with "no shut"
rement#
"Writing with Style, Conversations on the Art of Writing", by John Trimble is another great writing book (The second edition is 161 pages if you don't include the appendices).

The ability to communicate in writing is an important skill even for developers.

xtiansimon1 reply#
?? You mean this book-- "The Elements of Style is an American English writing style guide in numerous editions. The original was composed by William Strunk Jr. in 1918, and published by Harcourt in 1920..." [1]

Cool! 1920s book on English writing style inspiring your coding style.
My first reaction to the 'positive form' was to recall a conversation I had once with a retired programmer about flow control diagrams. They relayed how the normal form for these required, for example, the boolean nodes to exit True in one direction and False in another--but all similar nodes had to exit in the same direction.
I wondered if a paper-based design, once translated into code, might not include conditionals such as the example which seem awkward once the paper design is lost and forgotten.
Now I don't know which detail is more interesting--
How design methodology effects the comprehensibility of written code.
How I was inspired to apply natural language writing principles as programming best practices.
[1]: https://en.wikipedia.org/wiki/The_Elements_of_Style

WalterBright#
> 1920s book on English writing style inspiring your coding style.

Absolutely. It is surprising (but not really once you think about it) how applicable it is.

palerdot1 reply#
I use negative flags (but not negations) so that I can break out early with early returns ...

  if (isFeatureDisabled()) {
    // do not proceed
    return
  }
But still the style guide holds, since there is no negations ...
WalterBright#
I do try to reframe as different words, such as "right" instead of "notLeft", to eliminate negations.
chemicalnovae#
I was first put onto this book by my PhD supervisor while writing up my dissertation. Revolutionised the way I wrote English for the better.
kristopolous2 replies#
The 22 immutable laws of marketing by Al Ries and Jack Trout. Software is ultimately for humans. Understanding products, marketing and selling help you build better tools for humans and see how products (be it open source, programming languages, retail products, etc) work in the marketplace and not run down paths of "well this is the most popular they must be the best" ...

Solid marketing foundations are probably one of the more important skills that separate the good from the great practitioners.
Everything else on this thread I've read isn't a weekend. It's a careful study.

minhazm4231 reply#
Any other marketing books worth reading? Especially branding?
kristopolous#
What about the 22 immutable laws of branding by the same authors?
oldsklgdfth#
Very interesting read.

I find law 12. the law of line extension speaks to the current apple product line. There used to be a single phone they made, today there are 4 to choose from.

Load more comments