News for hackers. Stuff that matters.
Re:قلب: a non-ASCII programming language written in Arabic by yodsanklai on Friday October 25, 2019 @04:44AM (#21353032)
I'm not a native speaker, but "perform this task, for i in {1,2,3}" seems to make sense as a prose. At least it does in French, when translated literally.
Re:قلب: a non-ASCII programming language written in Arabic by ozzmotik on Friday October 25, 2019 @05:18AM (#21353203)
personally as a native speaker it has alwaus made sense to me in the sense of saying "for these given constraints, loop while they are maintained" for the arithmetic style for loop, and "for each of these elements" for the more iterator based style.
Re:قلب: a non-ASCII programming language written in Arabic by jdnenej on Friday October 25, 2019 @05:53AM (#21353360)
In python it makes sense but when you have `for(let i=0; I<length; I++)` it makes less sense
Re:قلب: a non-ASCII programming language written in Arabic by wongarsu on Friday October 25, 2019 @07:38AM (#21353958)
"for all i smaller than length, starting at 0". It doesn't really map perfectly because in math you usually don't care about the order, so a for loop actually contains more information than the statement it's trying to mimic.
Re:قلب: a non-ASCII programming language written in Arabic by krzrak on Friday October 25, 2019 @04:52AM (#21353076)
The same in Polish.