On Sun, Aug 16, 2009 at 11:10 PM, Nobody<nob...@nowhere.com> wrote: > Java also has iterators; it's more a case of people coming from C and BASIC. > > Although, some of those may have come *through* Java without abandoning > old habits. You see the same thing with people coming from BASIC to C and > writing: > > #define NUM_DATES 50 > int day[NUM_DATES], month[NUM_DATES], year[NUM_DATES]; > > rather than defining a "struct". > > Sometimes referred to as "I know ten languages and can write in BASIC in > all of them".
Ha, ha. I learned that pattern in Fortran. I confess to having written code like that in C. I think I've gotten over it. -- http://mail.python.org/mailman/listinfo/python-list