r/programminghorror • [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • Mar 20 '26

Rust Yes i code like this

0 Upvotes

23 comments sorted by

View all comments

Show parent comment

7

u/RpxdYTX [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Mar 21 '26

In fact, there's literally a rust koan advising against whatever the hell I'm doing. If a piece of cursed code is enough reason for anyone to drop a language, then javascript would have never entered the web environment ever