Ask HN: Best books under 200 pages for developers?
551 pointsMost 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
Show all comments
Showing thread 2 of 42
For example, page 19: "Put statements in positive form."
with: 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.Code is improved if booleans are put in positive form, such as replace:
The ability to communicate in writing is an important skill even for developers.
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
Absolutely. It is surprising (but not really once you think about it) how applicable it is.