Javascript doesn’t have strongly-typed variables
Javascript doesn’t have strongly-typed variables
I’m interested to hear more. I’ve followed Liam’s work for almost a decade at this point and I haven’t ever seen or heard of him acting unprofessionally, but I’m quite new to Lemmy.
What abuse of their moderator powers? Is there a link to see the mod log somewhere? Sorry, I know I’m being a bit needy, but I’m not really sure what I’m doing.
but what if number
isn’t an integer, or even a number at all? This code, and the improved code shared by the other user, could cause major problems under those conditions. Really, what you would want, is to validate that number
is actually an integer before performing the modulo, and if it isn’t, you want to throw an exception, because something has gone wrong.
That’s exactly what that NPM module does. And this is why it’s not a bad thing to use packages/modules for even very simple tasks, because they help to prevent us from making silly mistakes.
Thank you very much for pointing me in the right direction. I was able to dig a bit and I think I found it - it looks like they were being a bit of a pedantic asshole about some spelling/grammar thing, the moderator deleted their comment because… yes, it’s a pedantic spelling/grammar nitpick. Then that user threw a massive tantrum and started yelling mod abuse.
Honestly, it’s a real shame that Liam lost faith in Lemmy over something stupid like this. Yeah, there are downsides of a public mod log - really hateful vile shit will just persist in there forever when realistically it should be just wiped out entirely. I think overall it has more benefits than drawbacks, but I certainly wouldn’t say that being opposed to a public mod log is some sort of smoking gun evidence that he abused his mod powers.
So yeah, this one guy behaving like a self-centred jerk actively contributed towards pushing a well-known and prolific linux gaming journalist off the platform. Great stuff, love to see it.
Screenshot: