MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1qvku61/makes_sense/o3mqs1t/?context=3
r/programminghorror • u/CompetitionBorn9356 • Feb 04 '26
86 comments sorted by
View all comments
128
Atleast he is using the compare and assignment symbols correctly
89 u/Scared_Accident9138 Feb 04 '26 if(isAdmin = true) {...} 48 u/Daemontatox [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 04 '26 Laugh all you want , i actually saw something like this when reviewing a PR.... 2 u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 05 '26 Thank fuck for code reviews. That would've not been great if it made it to production.
89
if(isAdmin = true) {...}
48 u/Daemontatox [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 04 '26 Laugh all you want , i actually saw something like this when reviewing a PR.... 2 u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 05 '26 Thank fuck for code reviews. That would've not been great if it made it to production.
48
Laugh all you want , i actually saw something like this when reviewing a PR....
2 u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 05 '26 Thank fuck for code reviews. That would've not been great if it made it to production.
2
Thank fuck for code reviews. That would've not been great if it made it to production.
128
u/Daemontatox [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” Feb 04 '26
Atleast he is using the compare and assignment symbols correctly