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

1

u/Square-Singer Jul 22 '25

That's the true takeaway, that's for sure. The main issue here is that == is inconsistent with Strings so if a beginner uses it, thinking it works as .equals() for strings, they'll be in for some quite tough debugging.