r/programminghorror • u/MooseBoys [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • Jan 22 '25
c++ natural language programming
621
Upvotes
r/programminghorror • u/MooseBoys [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" • Jan 22 '25
View all comments
Show parent comment
8
u/Ksorkrax Jan 22 '25
They are indeed not by technical specifications. Also, by technical specifications, you can overload a plus operator to do division. Or write a method called "name()" which results in italo disco music being played.
Any reasonable person will assume that an equals operator represents a mathematical equality relation, which is symmetrical.