[#74190] [Ruby trunk Feature#12134] Comparison between `true` and `false` — duerst@...
Issue #12134 has been updated by Martin D端rst.
3 messages
2016/03/07
[#74269] Type systems for Ruby — Rob Blanco <ml@...>
Dear ruby-core,
5 messages
2016/03/10
[#74395] [Ruby trunk Feature#12142] Hash tables with open addressing — shyouhei@...
Issue #12142 has been updated by Shyouhei Urabe.
3 messages
2016/03/17
[ruby-core:74337] Re: [Ruby trunk Feature#12134] Comparison between `true` and `false`
From:
Matthew Kerwin <matthew@...>
Date:
2016-03-15 10:32:08 UTC
List:
ruby-core #74337
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`. That is 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) Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>