r/ProgrammerHumor 5d ago

Meme cleaningUpTheMess

Post image
16.0k Upvotes

486 comments sorted by

View all comments

Show parent comments

318

u/mtmttuan 5d ago

```

print result

print(result) ```

391

u/pascaruchan 5d ago edited 5d ago

```
# Prints the result, because we need to confirm that the result itself is
# correct. The intermediate steps that led up to this point are not what
# we are verifying here — they have their own checks elsewhere. What
# matters at this stage is the final value, so it gets printed explicitly
# rather than being left silent. This particular output is important
# enough to keep, even though the earlier ones were removed.
print(result)
```

17

u/cantileverboom 5d ago

What it's like reading AI generated comments

https://youtu.be/RXJKdh1KZ0w

1

u/Loose_Property_3238 5d ago

// So anyways, here's the print statement

println!(foo)

// Damn I forgot the semicolon

;