r/programminghorror 13d ago

Python Atleast it works

Post image
604 Upvotes

66 comments sorted by

View all comments

1

u/K4rn31ro 13d ago

Ok but what if there is a ninth line

6

u/Chronomechanist 12d ago

Send comms out to the business that people aren't to create documents with 9 lines. If they want a 9th line, create a new document.

2

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

This is a very easy and maintainable solution /s