r/programminghorror • u/No_Opening_5597 • Sep 25 '26
Javascript Rock paper scissors
I'm way too proud of this solution haha
287
Upvotes
r/programminghorror • u/No_Opening_5597 • Sep 25 '26
I'm way too proud of this solution haha
View all comments
Show parent comment
1
u/gsweats Sep 28 '26
JavaScript was created in a rush and by a newer programmer. Really to bad they didn't see the problem with using + for both addition and concatenation.