From: "Carlo E. Prelz" Date: 2013-01-25T15:10:04+09:00 Subject: Re: General Ruby syntax questions Subject: Re: General Ruby syntax questions Date: Fri 25 Jan 13 02:15:09PM +0900 Quoting Matthew Kerwin (matthew@kerwin.net.au): > By convention, in most programming contexts, 'i' is often to count > iterations of a loop. > > for (i = 0; i < number_of_iterations; i++) > > ... is pretty ubiquitous. In a nested loop, usually the inner loop uses > 'j', and then 'k', etc. Comes from Fortran, where, unless otherwise specified, variables whose names begun with the letters I to M were implicitly typed as integers. Thus, loop indices were most commonly I, J, K, L and M. Carlo -- * Se la Strada e la sua Virtu' non fossero state messe da parte, * K * Carlo E. Prelz - fluido@fluido.as che bisogno ci sarebbe * di parlare tanto di amore e di rettitudine? (Chuang-Tzu)