Fog Creek Software
Discussion Board




How do you say "list[i]"?

I'm just curious, when you see an expression like list[i], how do you "say" it in your head?

I've always said "list of i", but I think I'm in the minority with that.

One-Armed Bandit
Tuesday, February 10, 2004

In my head I just say "list i."

When speaking, I'll say something like "list sub i" or "element i in list" or if I've already established what list and i are, I might just say "list i."

Fred
Tuesday, February 10, 2004

I say "list eye". To me it means "index 'i' into an array named 'list'".

If I were writing "list of i" in C++ I'd write "list<i>" (but I wouldn't choose "i" as the name of a type).

Christopher Wells
Tuesday, February 10, 2004

I say "toh-mah-toh".


Tuesday, February 10, 2004

I think "list i". If I'm saying it out loud, I say "list element i". If someone doesn't know how to type it, I say "list elbrack i arbrack". If they don't know what "elbrack" means, I say "left square bracket", and if they still don't get it I say "it's next to the P". They can usually figure out "arbrack" after that.

Caliban Tiresias Darklock
Tuesday, February 10, 2004

list at i or list element i work for me.

Hang So
Tuesday, February 10, 2004

To be precise, "ordinal 'eye' of the set 'list'."

Proffessor Calculus
Tuesday, February 10, 2004

item i in list

DJ
Tuesday, February 10, 2004

I think "list of what, did I name this variable? why did I name it list?"....search my code for all occurances of list to figure out what the heck it means...




...oh come on, someone had to make a smart alec comment didn't they?

Aussie Chick
Tuesday, February 10, 2004

+1 for "list eye"


On the other hand if it's i<newt>, I say "eye of newt" and if it's myDearWatson[L], I say it's "elemental, my dear Watson".



P.S. I challenge anyone to come up with worse list[i] humor!

Nick
Tuesday, February 10, 2004

list sub i

Ankur
Tuesday, February 10, 2004

shiverMeTimbers[r]

never get involved in a land war in Asia and never dare someone to come up with a worse geeky joke.

Richard P
Tuesday, February 10, 2004

as ankor said. i read it as list sub i

pdq
Tuesday, February 10, 2004

list I for queer guy

Weee
Tuesday, February 10, 2004

List sub eye - an excess of math weeniedom will do that
to you...

x
Tuesday, February 10, 2004

Do you know, when I first started programming, back on my comp101 days at uni (actually it was comp 130 but this doesn’t sound as good), I was afraid of arrays. I avoided them like the plague….strange child that I was.

Aussie Chick
Tuesday, February 10, 2004

Perfectly understandable fear due to common newbie bugs of trying to access an array with an invalid index.

And that arrays are actually just pointers (in C), so passing an array parameter implicitly means you're passing by reference.

Richard P
Tuesday, February 10, 2004

I would think "element i of the array"  "which array ?"  "that one"  "which one ?"  "the array called list"

Anyway, why doesn't AussieChick write a book of her nostalgic mussings....  They keep coming.

"AussieChick : Back in the day"

"The AussieChick Diaries"

"The AussieChick Joel Conversations"

braid_ged
Tuesday, February 10, 2004

It's not pronouncible in any spoken language.

It's like I "say"  "list __--__ i"

The real Entrepreneur
Tuesday, February 10, 2004

I say "list sub i".

I don't know why, though.

Alyosha`
Wednesday, February 11, 2004

When I see list[i] in any code or any language I figure I am staring at some data structure indexed to whatever offset i is.

So I would say "<insert name of data structure, ex: array> indexed to i" or "<insert name of data structure, ex: array> pointing to i"

Li-fan Chen
Wednesday, February 11, 2004

I say "List at I".

Tim Sullivan
Wednesday, February 11, 2004

*  Recent Topics

*  Fog Creek Home