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

0

u/[deleted] Mar 21 '26

[deleted] — view deleted comment

7

u/Foudre_Gaming Mar 21 '26

To be entirely fair, on the 2nd screenshot it's macros. Macros are hell, it's their own language really.

2

u/SnowPudgy Mar 21 '26

100% agree!

0

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

This is definitely a big reason why I'm not that interested in learning Rust, and I have made an effort to learn Perl in the distant past.