News for hackers. Stuff that matters.
Re:Lua Criticism Is Unwarranted by caligian on Thursday October 26, 2023 @09:39PM (#38033733)
Yes. My point is that it should not matter because you can stick to table indexing with +-1 or create a function for the same
Re:Lua Criticism Is Unwarranted by Joker_vD on Friday October 27, 2023 @02:28AM (#38035318)
So what does this "simple function" look like?
Re:Lua Criticism Is Unwarranted by caligian on Friday October 27, 2023 @04:02AM (#38035888)
function mod0(x, y) return (x % y) + 1 end

Something like this? You replace % with mod0()