2 ms·
I bet it's from maths. "For k in Z, ...". But in programming, imperative is more useful than declarative, so we turned this into "For k from 0 to ...", as it tr
by TeMPOraL 6y ago
I bet it's from maths. "For k in Z, ...". But in programming, imperative is more useful than declarative, so we turned this into "For k from 0 to ...", as it translates directly to telling the computer what to do - and this is the form most programmers ended up being exposed to.