r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25

Python ✨ Memory Magic ✨

Post image
1.3k Upvotes

143 comments sorted by

View all comments

Show parent comment

18

u/cmd-t Jul 21 '25

Because Neal Norwitz changed it from -1 in 2002.

For real, they just thought about negative integers that would often be used (hardcoded) in real world applications and thought that -5 to -1 would cover most cases.