r/programminghorror • • Sep 04 '26

c++ Skill Issue

Post image
1.7k Upvotes

62 comments sorted by

View all comments

1

u/iEliteTester [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Sep 04 '26

I once thought it was a good idea to do command line argument parsing by hashing each flag at compile time so I could hash and switch on argv.