From: Matthew Kerwin Date: 2013-04-03T22:42:00+09:00 Subject: [ruby-core:53963] Re: [ruby-trunk - Feature #8191] Short-hand syntax for duck-typing --e0cb4efe2daccbd24b04d974952a Content-Type: text/plain; charset=ISO-8859-1 On Apr 3, 2013 9:30 PM, "Rodrigo Rosenfeld Rosas" wrote: > > Em 03-04-2013 01:10, phluid61 (Matthew Kerwin) escreveu: > >> Issue #8191 has been updated by phluid61 (Matthew Kerwin). >> >> Throwing this out there for discussion: how about a completely different syntax? >> >> user&&.profile&&.website&&.thumbnail > > Why not simply user&.profile&.website&.thumbnail? > Just because at a glance most of us recognise && as a logical operation and & as arithmetic. --e0cb4efe2daccbd24b04d974952a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Apr 3, 2013 9:30 PM, "Rodrigo Rosenfeld Rosas" <rr.rosas@gmail.com> wrote:
>
> Em 03-04-2013 01:10, phluid61 (Matthew Kerwin) escreveu:
>
>> Issue #8191 has been updated by phluid61 (Matthew Kerwin).
>>
>> Throwing this out there for discussion: how about a completely dif= ferent syntax?
>>
>> =A0 user&&.profile&&.website&&.thumbnail >
> Why not simply user&.profile&.website&.thumbnail?
>

Just because at a glance most of us recognise && as a logical op= eration and & as arithmetic.

--e0cb4efe2daccbd24b04d974952a--