coja@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agoFind yourselflemmy.mlimagemessage-square104fedilinkarrow-up1649
arrow-up1649imageFind yourselflemmy.mlcoja@lemmy.ml to Programmer Humor@lemmy.ml · 11 months agomessage-square104fedilink
minus-squaresnowe@programming.devlinkfedilinkarrow-up22·11 months agoThey’re setting a variable to a function. Just use the original function. All thief does is obfuscate for literally no gain except character count.
minus-squarePlatypus@sh.itjust.workslinkfedilinkEnglisharrow-up11·11 months agoI presumed it to be a standin for just directly using Math.max, since there’s no nice way to show that in a valid code snippet
minus-squaresnowe@programming.devlinkfedilinkarrow-up7·11 months agowell it’s called Thief. They’re stealing the function and making it look like they wrote it. hence max1.
minus-squareDemonen@lemmy.mllinkfedilinkEnglisharrow-up3·11 months agoYeah, that’s my reading as well.
They’re setting a variable to a function. Just use the original function. All thief does is obfuscate for literally no gain except character count.
I presumed it to be a standin for just directly using Math.max, since there’s no nice way to show that in a valid code snippet
well it’s called Thief. They’re stealing the function and making it look like they wrote it. hence
max1
.Yeah, that’s my reading as well.
Sounds good to me