this post was submitted on 09 Mar 2025
108 points (95.0% liked)
Programming Circlejerk
132 readers
2 users here now
Community to talk about enlightened programming takes
Rules:
- read and follow the programming.dev code of conduct
- no flamewars
- mark your unjerks
- only programming related content allowed
- link to the original source
- do not mention this community in places like hackernews, lobste.rs, or the general programming communities on Lemmy where we source jerk material from.
founded 2 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How would a programming book have that kind of mistakes? Do they manually type the code, and output separately?
Any semi-competent programmer will copy paste the code to the terminal and copy the output.
And any competent programmer will make sure the output is auto generated from the code so there's no mistakes.
People write books. People are imperfect. People write imperfect books. It's not hard to copy / pasta the wrong notes when assembling the bones of a book.