this post was submitted on 09 Mar 2025
105 points (94.1% liked)

ProgrammingCircleJerk

102 readers
13 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
[โ€“] thevoidzero@lemmy.world 4 points 3 days ago (1 children)

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.

[โ€“] some_guy@lemmy.sdf.org 3 points 3 days ago

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.