DEV Community

Discussion on: Roast the code #1 | Rock Paper Scissors

 
nombrekeff profile image
Keff

Cool stuff, I did a similar solution before the one shared in the post, but in plain js

I'll roast you a bit, but I don't have much to add though. I'd say importing the whole lodash library just to use the isEqualWith is a bit overkill for this simple scenario (quite ironic by my part to say that though xD).

And yeah enums are kinda weird in TS, but I sometimes miss some of the features they have in other languages.