Hacker News new | ask | show | jobs
by specproc 16 days ago
Just FYI, you don't need to read books cover to cover.
1 comments

Even when recommending them?
Yes; you can be anywhere in the following subset relationship to intelligently recommend a book.

Applied/Practiced ⊂ Understood ⊂ Studied ⊂ Read ⊂ Browsed

Note that the assumption is that one is not being dishonest by claiming a level that one has not reached.

« … ⊂ Browsed »

That last level is perhaps not enough to make a recommendation. You recommend a lot of books, and most of them are probably fine (impossible for me to read and understand that much, but have to give them the benefit of the doubt).

However, I started reading the one you recommended in 47215165, Advanced C and C++ Compiling by Stepanovic (2014), and I stopped on page 74 because the book is very poorly written and organized, has many issues that make it a waste of time (despite my sincere interest). I only downloaded it from AA, so there was no loss other than time.

I have no doubt you would have noticed these issues had you actually read the book. If, however, you only browsed the book, then it's no surprise that its grave issues have not come to your attention.

Despite that, thanks for your recommendations, and keep recommending, please.

> I stopped on page 74 because the book is very poorly written and organized, has many issues that make it a waste of time (despite my sincere interest)

This seems like a subjective issue.

What were your expectations and how did you approach the book? Do you already have some background in the subject or are you starting from zero? Were you turned off by the iffy English and silly analogies used by the author or was there something more?

A book is a static item and one has to adapt one's mentality/attitude to the writing style of the book else one will miss out on a lot of knowledge out there. The best way to start is by browsing the entire book and getting the lay of the land before making a decision as to whether to continue or not. Here is an older comment of mine detailing an approach - https://news.ycombinator.com/item?id=38791680 Be sure to checkout the references given.

Technical books can be broadly categorized as abstract mathematical/conceptual vs. concrete practical implementation focused. Within each category you could have detailed tutorials vs. succinct advanced topics. So one's expectations have to sync with the category the book is written for else one is to blame and not the book/author.

This particular book is in my "understood" category and its value lies in the second half of the book when it gets into intricacies of dynamic linking & loading; in particular the illustrations are very helpful. Since i already had a background in the domain it was easy for me but i can see how others without the requisite background might struggle.

I highly recommend you start with the book again if you really want to study the domain. Ignore bad editing/irrelevant analogies/style/etc. and focus on the essence the author is trying to convey. You will find your understanding improve and gain real knowledge.

PS: You might find starting with the simpler ELF: From The Programmer's Perspective by Hongjiu Lu (https://ftp.math.utah.edu/u/ma/hohn/linux/misc/elf/elf.html) and Bryant & O'Hallaron's Computer Systems: A Programmer's Perspective an easier approach.

I approached the book by reading from the start, as I usually do, from the very start, i.e. before even the ToC, not skipping anything; expecting to find what the title and subtitle promise, i.e. compiling, linking, libraries, and more info on how e.g. the linker produces an executable and how the CRT helps (or needs to be configured), stuff such as Hans Passant would talk about on StackOverflow, without any special motivation on my part.

I was turned off by the poor organization of the book up to page 74. The writing style was also an issue: not the many grammar mistakes, but the author strutting around in the "Introduction" without properly introducing the book, a pattern later repeated. He often starts talking about sth, then stops, "as you will learn later" (there's no plan), then rambles on to sth entirely different that is not in the chapter or section title (p.42), so it's very random. There are needlessy pompous graphics and unexplained hexdumps just to fill pages.

“vast variety of linker symbol types, far larger than you can imagine at this early stage on your path toward understanding the intricacies of the linking process” (p.43)

The path, wtf? There hasn't be any so far. And why this verbose sauce about what the reader can imagine?

Then he dumps “A Variety of Symbol Types” in Tab 2-2 (p.45) without explanation or motivation. See? He starts talking about sth, then doesn't explain it, then rambles on. There is no path, there's bouncing around all over the place.

And it goes on and on, and I didn't learn anything new in the first chapters of this book other than that the author has an annoying need to constantly show how cool and knowledgeable he is.

There are also major WTFs, like “CHAPTER 4: The Impact of Reusing Concept [sic]” – I mean, they could at least have corrected the grammar in the chapter titles, and language such as "impact" in this context is really poor style for a technical book, the title should be "Code Reuse" or similar sober wording, and not some pompous "impact" like in marketing BS.

« its value lies in the second half of the book »

Okay, will give it another try, thank you for the additional pointers.

PS: Just saw what made me close the book for good, it's the ridiculous analogy tables in their own section in chapter 4 under the heading Useful Comparison Analogies [sic], labeled "Legal", "Culinary" and "Tropical Jungle Expedition" – to explain what? The difference between executables and static and dynamic libraries. That really did me in.

A technical book is not a novel to start reading from page one. You need to first get the "structure" of the book i.e. what are the big conceptually cohesive pieces and how do they relate to each other. You then pick a path (generally non-linear) through it based on your existing domain knowledge (many authors in their introductions give you multiple paths through their book for different categories of readers). As i pointed out in my earlier linked comment you can use a process to define a reading path for yourself.

If you want to pan for gold, you need to throw the mud away. Your criticisms are merely focusing on the mud (i.e. editing issues) which is pointless. The author has his own style which you need to adapt to. This subject is more detail-oriented than concepts-oriented so by definition based on your existing (or lack thereof) knowledge much will seem confusing/incomprehensible at first read. Until you have made multiple passes, added other sources for needed clarifications etc. you will not be able to build a cohesive mental framework of the domain.

To summarize, ignore trivialities/superficialities, but focus on the substance of the book (in particular, the illustrations are one of the strong points of the book). There are not many books on this subject and hence it is upto you to extract that knowledge.