Sujet : Re: Which code style do you prefer the most?
De : richard (at) *nospam* cogsci.ed.ac.uk (Richard Tobin)
Groupes : comp.lang.cDate : 05. Mar 2025, 20:09:30
Autres entêtes
Organisation : Language Technology Group, University of Edinburgh
Message-ID : <vqa7ha$r76u$1@artemis.inf.ed.ac.uk>
References : 1 2 3 4
User-Agent : trn 4.0-test76 (Apr 2, 2001)
In article <
Ea0yP.6763$SVG3.6427@fx42.iad>,
Scott Lurndal <
slp53@pacbell.net> wrote:
Seriously, short variable names for common things - i, j, k for loop
counters;
So, one might ask _why_ i, j, k instead of a, b, c?
>
Answer: Fortran IMPLICIT INTEGER
Why did Fortran have I-N as implicit integers? Because of common
mathematical practice, which uses those letters as subscripts.
Fortran's role in this convention is as an intermediary rather the as
the origin.
-- Richard