r/programminghorror • • Sep 25 '26

Javascript Rock paper scissors

Post image

I'm way too proud of this solution haha

287 Upvotes

27 comments sorted by

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.