coja@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agoFind yourselflemmy.mlimagemessage-square89fedilinkarrow-up1360arrow-down117
arrow-up1343arrow-down1imageFind yourselflemmy.mlcoja@lemmy.ml to Programmer Humor@lemmy.ml · 9 months agomessage-square89fedilink
minus-squaresnowe@programming.devlinkfedilinkarrow-up14arrow-down1·9 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-up6·9 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-squareDemonen@lemmy.mllinkfedilinkEnglisharrow-up1·9 months agoYeah, that’s my reading as well.
minus-squaresnowe@programming.devlinkfedilinkarrow-up1·9 months agowell it’s called Thief. They’re stealing the function and making it look like they wrote it. hence max1.
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
Yeah, that’s my reading as well.
well it’s called Thief. They’re stealing the function and making it look like they wrote it. hence
max1
.Sounds good to me