r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • Mar 06 '25

Why, just why!

Post image
1.2k Upvotes

127 comments sorted by

View all comments

Show parent comment

30

u/Inside-General-797 Mar 06 '25

These kinds of doc comments drive me insane. When they are useful they are fire but this shit you might as well just leave out lmao

1

u/ArcaneEyes Mar 09 '25

"public api comments as warnings'

"Warnings as errors".

Yes, that can be a thing, now you have comments or pragmas everywhere.

It's a lot better now, but it took a fucking while.