From: Tom Sawyer Date: 2002-07-26T07:55:50+09:00 Subject: Re: How do you think of... On Thu, 2002-07-25 at 16:40, Michael Campbell wrote: > This is going to sound like an odd question, and there's no "right" > or "wrong" answer, but when you read code, what does the iterator > "sound" like in your head as you read? > > Meaning, given: > > a = [1, 2, 3] > a.each {|x| p x } # <- this line a each do on x p of x mathmatical lingo. use 'of' for arguments. techinically the block is an argument too, but ruby offers us 'do' as a lingustical deliminator. and 'on', well, i think mathamaticlly they use the term 'over', but sometimes you hear 'on' and its shorter :-) ~transami