From: dblack@... Date: 2002-11-21T22:35:10+09:00 Subject: Re: difference between "and" and "&&" Hi -- On Thu, 21 Nov 2002, Gavin Sinclair wrote: > From: "Pe�a, Botp" > > > > [On 'and' and '&&'] > > I am surprise and I'm new to Ruby :-) > > > > I do find both structurally same, but why the difference in precedence? > > > > Pls enlighten.. > > Not so long ago, Matz stated that the difference in precedence was because > natural language doesn't observe a high precedence for 'and'. I thought that > was a very nice observation from a computer geek. Indeed. There does seems to be an unstated (at least in any grammar book I remember) rule that & binds more tightly than and in English. It's interesting that sometimes in TV or film credits you see something like: Screenplay by David Black and Gavin Sinclair & Yukihiro Matsumoto where the & between the latter two mean that they are a writing team. David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav