News for hackers. Stuff that matters.
Re:Programmers Don't Read Books – But You Should (2008) by minkles on Thursday August 15, 2024 @03:33PM (#41259535)
I don't read programming books any more because they are mostly shit or expensive or expensive and shit. The hit rate of finding a good one is so low it's easier to just fudge your way around a problem using some idiom you're already experienced with.

Just ambling around the book store earlier I saw a 3 inch think tome around Go programming called Pro Go or something. I opened it and it was a whole book of instructional copy and paste recipes that span 10 pages for a simple problem. Urgh. This is the status quo now and it has been for a long time. I walked out with a book on pure mathematics instead - probably more useful in the long run...

Re:Programmers Don't Read Books – But You Should (2008) by nyarlathotep_ on Thursday August 15, 2024 @03:53PM (#41259731)
Many are outdated by the time they hit the press.

I recall a few years back, Packt et al would publish like "Modern React" or something, with examples that wouldn't build by the time the book was out.

Typesetting is awful too, as you mentioned. A single paragraph for something dead simple is spread over multiple pages.

Nothing against such authors; its fruitless to hit a moving target.

Books on programming languages are the only ones I purchase these days, for those reasons.

The Go book, Rust Programming language, Stroustrup's books on C++ etc are quite good and worth owning, but those are exceptions rather than the rule.

Re:Programmers Don't Read Books – But You Should (2008) by ppseafield on Thursday August 15, 2024 @04:19PM (#41259943)
Programming books are definitely becoming more hit or miss, as the volume of books has increased dramatically in the last 10-15 years. There are still great books, but there are a lot more bad ones out there. There's a lot more software out there, and a lot more people learning about it.

I had a horrible experience with Packt. I had subscribed andwas in the middle of reading a book. The book suddenly became unavailable, so I created a ticket. They threw a few tokens at me, and asked if they could just close the ticket, even though there was no mention of whether the book was going to be available again.

Then weeks later they signed me up for six(!) separate mailing lists without asking me, one for each tag I had flagged as interested.

Re:Programmers Don't Read Books – But You Should (2008) by tdeck on Thursday August 15, 2024 @04:05PM (#41259837)
> I recall a few years back, Packt et al would publish like "Modern React" or something, with examples that wouldn't build by the time the book was out.

This says more about React than it does about the publisher.

Re:Programmers Don't Read Books – But You Should (2008) by biofox on Thursday August 15, 2024 @04:13PM (#41259886)
Churn in the software world is out of control, and I have no idea why we accept it.
Re:Programmers Don't Read Books – But You Should (2008) by 2OEH8eoCRo0 on Thursday August 15, 2024 @05:00PM (#41260315)
It's funny because at the end of the day it's still all just instructions on a CPU. Computers essentially haven't changed in half a century. What the biggest change between then and now? Multi-core processors?
Re:Programmers Don't Read Books – But You Should (2008) by RealityVoid on Thursday August 15, 2024 @07:21PM (#41261551)
I'd say the computer architecture can vary _greatly_ and there are a bunch of cores in modern SOC's that kind of break the assumption of how a computer works. I recently listened to this:

https://youtu.be/36myc8wQhLo?si=sWdKyW3w2vln93SP

Cache coherence, accelerators, various takes on pipelining, ISA extensions. There are many many things that change all the time.

Not even touching the SW glue stuff that changes. I don't know the history of react and what is going on in modern browsers, but I suspect there are OS constraints, evolving web standards, extra capabilities, evolving browsers that shape and force the framework to adapt. I am doubtful people change it just for the sake of it.

Re:Programmers Don't Read Books – But You Should (2008) by 2OEH8eoCRo0 on Thursday August 15, 2024 @07:30PM (#41261609)
We are talking about programming computers. What the CPU does once it gets instructions is mostly irrelevant to the programmer. The act of programming is still just building big lists of instructions to feed to a CPU so why has the programming stack grown to such a massive precarious bloated pile of abstraction that gets in my way? Every fancy schmancy language you can think of still just comes down to feeding the same instructions to a hungry CPU.
Re:Programmers Don't Read Books – But You Should (2008) by RealityVoid on Thursday August 15, 2024 @08:40PM (#41261975)
That's the thing, you have layers upon layers of stuff that run on the computer. You have a runtime of the language, many many abstractions of interacting with the various capability of the system, a ABI to the OS, an ISA. These things vary and you need to account somehow for these variation. And the changes in the lowest layers percolate through.

Not to mention that the computer is actually very very different than what you imagine.

I say this not to make excuses for react, again I don't know that ecosystem. I spend most of my time writing firmware and low level drivers. And I see during my work the wide array of capabilities and approaches these systems have. They are not an homogeneous bunch.

Re:Programmers Don't Read Books – But You Should (2008) by Clamchop on Thursday August 15, 2024 @05:59PM (#41260865)
I'd say GPUs and the things descended from them and how they're being used now is a pretty big development.

You can still be reductionist about it, but it feels materially different from the mundane calculations and algorithms that sprung to mind when I read your post.

Re:Programmers Don't Read Books – But You Should (2008) by 2OEH8eoCRo0 on Thursday August 15, 2024 @06:59PM (#41261355)
Agreed. GPUs are a somewhat different paradigm.
Re:Programmers Don't Read Books – But You Should (2008) by Suppafly on Thursday August 15, 2024 @04:48PM (#41260198)
>Nothing against such authors;

I have something against them. It's often apparent that many of them are professional programming book authors that are learning the language as they are writing the book instead of being professional programmers with some skills in the language that are writing a book. I don't want to learn along with another unskilled person, I want to learn from someone that has enough familiarity to not use features incorrectly and to mention potential hangups. Hell a lot of these books read like they are written by someone that is new to programming altogether, not just someone that is relatively new to the language.

Re:Programmers Don't Read Books – But You Should (2008) by ghaff on Thursday August 15, 2024 @04:53PM (#41260264)
>Many are outdated by the time they hit the press.

Quite a while back, I was contacted by Wiley about writing an OpenStack book. I wasn't the right person to write it anyway. But even if I were, by the time the book hit the shelves, OpenStack would almost certainly have moved on a good two versions.

Re:Programmers Don't Read Books – But You Should (2008) by layer8 on Thursday August 15, 2024 @05:02PM (#41260333)
The most useful books to read are about topics that don’t get easily outdated.
Re:Programmers Don't Read Books – But You Should (2008) by quesera on Thursday August 15, 2024 @07:07PM (#41261436)
O'Reilly, Manning, Pragmatic, No Starch, and Addison-Wesley are generally high quality publishers.

Packt appears to be a vanity press.

React is a difficult moving target, and Packt is a six year old with a homemade slingshot.

Re:Programmers Don't Read Books – But You Should (2008) by djaouen on Thursday August 15, 2024 @04:18PM (#41259933)
Why would you go to a book store to buy a programming book? That's the stupidest shit I ever heard lol
Re:Programmers Don't Read Books – But You Should (2008) by latexr on Thursday August 15, 2024 @03:37PM (#41259574)
> I don't read programming books any more because they are mostly shit or expensive or expensive and shit.

That’s consistent with the first reason given in the article:

> I lay part of the blame squarely at the feet of the technical book publishing industry:

> Most programming books suck. The barrier to being a book author, as near as I can tell, is virtually nonexistent. The signal to noise of book publishing is arguably not a heck of a lot better than what you'll find on the wilds of the internet. Of the hundreds of programming books released every year, perhaps two are three are truly worth the time investment.

Re:Programmers Don't Read Books – But You Should (2008) by minkles on Thursday August 15, 2024 @03:44PM (#41259636)
The problem is that they're written by developers. And when I say developers I mean developers, not engineers or authors. Everything is about a sausage factory, nothing more. You don't learn stuff other than copying and mimicry. And some of it is absolute monkey excrement. But when you don't know better it feels like you are learning something good.

I am considering writing a bad programming book on purpose. I will call it "how to sling together a badly written Go 'enterprise' app and smear AngularJS over the top"

Re:Programmers Don't Read Books – But You Should (2008) by Suppafly on Thursday August 15, 2024 @04:50PM (#41260222)
Nah, the worst ones are the ones written by authors, but who aren't developers. Especially the ones that are authors that just write a book for every new trendy language but never get to the point of actually using those languages themselves.
Re:Programmers Don't Read Books – But You Should (2008) by jonbodner on Thursday August 15, 2024 @04:56PM (#41260289)
I’m the author of Learning Go from O’Reilly, so I might be a bit biased.

What I’ve found is that different publishers put different amount of effort into producing good content. O’Reilly is almost always excellent. Others are less so.

It’s hard to find a dev who is willing to invest a year of their life to write a book that is likely to make almost no money. It’s doubly hard to find devs who write well.

Given these filters, two or three good programming books a year sounds pretty great.

Re:Programmers Don't Read Books – But You Should (2008) by rrishi on Friday August 16, 2024 @09:59AM (#41266493)
what a coincidence!

i am reading your book now and thoroughly enjoying it!

Learning Go's quite good to get dangerous with Go quickly, so good job!

Re:Programmers Don't Read Books – But You Should (2008) by geph2021 on Thursday August 15, 2024 @04:28PM (#41260020)
That's exactly the author's point:

  Most programming books suck.
Yet he has some recommendations:

   But I do have this call to arms: my top five programming books every working programmer should own – and read.

They are:

  Code Complete 2 [1]

  Don't Make Me Think [2]

  Peopleware [3]

  Pragmatic Programmer [4]

  Facts and Fallacies [5]
1 - https://www.amazon.com/exec/obidos/ASIN/0735619670/codihorr-...

2 - http://www.amazon.com/exec/obidos/ASIN/0321965515/codihorr-2...

3 - http://www.amazon.com/exec/obidos/ASIN/0932633439/codihorr-2...

4 - http://www.amazon.com/exec/obidos/ASIN/020161622X/codihorr-2...

5 - http://www.amazon.com/exec/obidos/ASIN/0321117425/codihorr-2...

Re:Programmers Don't Read Books – But You Should (2008) by layer8 on Thursday August 15, 2024 @05:01PM (#41260325)
There’s always LibGen and friends if you really can’t afford much, or to sample before buying. You can also get used copies cheaper. The pricing shouldn’t keep you from reading.
Re:Programmers Don't Read Books – But You Should (2008) by anthk on Thursday August 15, 2024 @05:04PM (#41260342)
From Mark Burguess I'm reading:

- The Unix Programming Environment (not that one; this one it's a bit more modern). You'll get a bit of Perl instead of AWK, but it's fine.

- The GNU C Tutorial. Not as good as 'The C programming language'; but still useful.

- A shot Introduction To Operating Systems. Slightly outdated C++, because most of the time the issue it's just about fixing the include headers.

Most of the things learned there will work as is as Perl5, ANSI C/GNU C and so don't change a lot over time, if any.

Re:Programmers Don't Read Books – But You Should (2008) by dayvid on Thursday August 15, 2024 @05:09PM (#41260388)
The really good books are REALLY good, though. But the only places I've seen them were at university bookstores (and even then mainly MIT/Stanford) or Amazon when they had physical stores. Otherwise you have to get them online
Re:Programmers Don't Read Books – But You Should (2008) by yimmothathird on Thursday August 15, 2024 @07:36PM (#41261645)
I saw an HN thread a while back where someone recommended a comprehensive book on some networking subject. I'm sure it was a good book, I was floored when I saw physical copies being sold fucking $700.

Unfortunately, a lot of the technical books I wish to read fall into this grift of academic texts.

Re:Programmers Don't Read Books – But You Should (2008) by dkwr on Friday August 16, 2024 @03:28AM (#41264005)
And then you also have the books which cost 60€ and aren't even printed in color. I mean it makes sense for ecological reasons, but I can get books for 19€ that are colorized. It would be a much better reading experience if some boxes would actually show colorized instead of different shades of grey.