DEV Community

Discussion on: Daily Challenge #121 - Who has the most money?

hectorpascual profile image
Héctor Pascual

Hi, check this decorator :

Will make you avoid writing some functions.

rafaacioly profile image
Rafael Acioly

Thank you Héctor i didn't know about this.

I've tried to apply it but it looks is a little shady for me, i didn't quite understand what is does and how it "magically" does the comparison