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:

founded 2 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] thevoidzero@lemmy.world 4 points 4 weeks 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 4 weeks 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.