Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Gary Gregory
On Wed, Mar 14, 2012 at 9:33 AM, sebb seb...@gmail.com wrote: I noticed that some of the CSV methods uses int l (ell). This is unfortunately very similar to 1 (one) in many fonts. ExtendedBufferedReader.read(...) and UnicodeUnescapeReader.read(...) both do this. Now that would perhaps be a

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread sebb
On 14 March 2012 14:00, Gary Gregory garydgreg...@gmail.com wrote: On Wed, Mar 14, 2012 at 9:33 AM, sebb seb...@gmail.com wrote: I noticed that some of the CSV methods uses int l (ell). This is unfortunately very similar to 1 (one) in many fonts. ExtendedBufferedReader.read(...) and

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Gary Gregory
On Wed, Mar 14, 2012 at 10:27 AM, sebb seb...@gmail.com wrote: On 14 March 2012 14:00, Gary Gregory garydgreg...@gmail.com wrote: On Wed, Mar 14, 2012 at 9:33 AM, sebb seb...@gmail.com wrote: I noticed that some of the CSV methods uses int l (ell). This is unfortunately very similar to 1

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Adrian Crum
Personally, I despise single character parameters/variable names. Seriously, is it that much work to type a few extra characters and make the name meaningful? -Adrian On 3/14/2012 1:33 PM, sebb wrote: I noticed that some of the CSV methods uses int l (ell). This is unfortunately very similar

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread sebb
On 14 March 2012 16:39, Adrian Crum adrian.c...@sandglass-software.com wrote: Personally, I despise single character parameters/variable names. Seriously, is it that much work to type a few extra characters and make the name meaningful? Sometimes single char names are clearer. E.g. in for

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Emmanuel Bourg
Le 14/03/2012 18:11, sebb a écrit : Sometimes single char names are clearer. E.g. in for loops, using i and j is such a common idiom that renaming won't necessarily improve readability. Same thing for x and y as coordinates. Emmanuel Bourg smime.p7s Description: S/MIME Cryptographic

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Adrian Crum
Except in nested loops: Which integer is being incremented, the inner loop or outer loop? If the outer loop used outer instead of i, and the inner loop used inner instead of j, then the loop being incremented is obvious. Idioms make sense as long as they're *your* idioms. To others it's

Re: [ALL] Is that 1 or l or I ?

2012-03-14 Thread Ralph Goers
On Mar 14, 2012, at 10:14 AM, Emmanuel Bourg wrote: Le 14/03/2012 18:11, sebb a écrit : Sometimes single char names are clearer. E.g. in for loops, using i and j is such a common idiom that renaming won't necessarily improve readability. Same thing for x and y as coordinates. I doubt