[ruby-core:74339] Re: [Ruby trunk Feature#12134] Comparison between `true` and `false`

From: Nobuyoshi Nakada <nobu@...>
Date: 2016-03-15 12:34:14 UTC
List: ruby-core #74339
Matthew Kerwin<matthew@kerwin.net.au> wrote:

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

Just because BASIC doesn't separate bitwise and logical operators.
Ruby isn't the case.

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

In This Thread

Prev Next