this post was submitted on 09 Mar 2025
106 points (94.9% liked)
ProgrammingCircleJerk
102 readers
4 users here now
Programming CircleJerkCommunity at request of a user.
founded 1 month 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.