--1241516138Content-Type: multipart/alternative; boundary=001a113feffac99c3f052e13e87d

--001a113feffac99c3f052e13e87d
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 07/03/2016 2:54 PM, <duerst / it.aoyama.ac.jp> wrote:
>
> Issue #12134 has been updated by Martin Dürst.
>
>
> Tsuyoshi Sawada wrote:
>
> > Please do not confuse this with the common proposal to map booleans to
integers, particularly `true.to_i # => 1` and `false.to_i # => 0`. Thats
arbitrary, and does not make sense.
>
> In absolute terms, it is arbitrary. But it's the most widely used
mapping, and therefore would make much more sense than any other mapping.
>

In VisualBasic TRUE == -1, which is handy for bitwise operations (TRUE & x
== x)

--001a113feffac99c3f052e13e87d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir="ltr"><br>
On 07/03/2016 2:54 PM, &lt;duerst / it.aoyama.ac.jp&gt; wrote:<br>
&gt;<br>
&gt; Issue #12134 has been updated by Martin Dürst.<br>
&gt;<br>
&gt;<br>
&gt; Tsuyoshi Sawada wrote:<br>
&gt;<br>
&gt; &gt; Please do not confuse this with the common proposal to map booleans to integers, particularly `true.to_i # =&gt; 1` and `false.to_i # =&gt; 0`. That is arbitrary, and does not make sense.<br>
&gt;<br>
&gt; In absolute terms, it is arbitrary. But it&#39;s the most widely used mapping, and therefore would make much more sense than any other mapping.<br>
&gt;</p>
<p dir="ltr">In VisualBasic TRUE == -1, which is handy for bitwise operations (TRUE &amp; x == x)</p>

--001a113feffac99c3f052e13e87d--

--1241516138Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subjectsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

--1241516138-