r/programminghorror • • Sep 25 '26

Javascript Rock paper scissors

Post image

I'm way too proud of this solution haha

284 Upvotes

27 comments sorted by

View all comments

1

u/lxe Sep 26 '26

I absolutely love this. The inferred string corrosion. The fully optimized easy to compile single level conditional. This is perfect code.