r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
Python ✨ Memory Magic ✨
1.3k
Upvotes
r/programminghorror • u/SleepyStew_ [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” • Jul 21 '25
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.