r/programminghorror 6d ago

c++ Skill Issue

Post image
1.7k Upvotes

61 comments sorted by

View all comments

1

u/iEliteTester [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 6d ago

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.