this post was submitted on 09 Mar 2025
112 points (95.2% liked)

Programming Circlejerk

289 readers
1 users here now

Community to talk about enlightened programming takes

Rules:

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