[#84867] [Ruby trunk Bug#14357] thread_safe tests suite segfaults — v.ondruch@...

Issue #14357 has been reported by vo.x (Vit Ondruch).

11 messages 2018/01/15

[#84980] [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — hsbt@...

Issue #13618 has been updated by hsbt (Hiroshi SHIBATA).

10 messages 2018/01/23
[#85012] Re: [Ruby trunk Feature#13618][Assigned] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — Eric Wong <normalperson@...> 2018/01/23

hsbt@ruby-lang.org wrote:

[ruby-core:84784] Re: [Ruby trunk Feature#14336] Create new method String#symbol? and deprecate Symbol class

From: Bill Kelly <billk@...>
Date: 2018-01-09 18:02:09 UTC
List: ruby-core #84784
rr.rosas@gmail.com wrote:
>
> You often say that symbols already exist in other languages and has been
> borrowed from them. Since I don't know those languages, let me ask you:
> do those languages support the equivalent of Ruby's Hash and allow both
> strings and symbols as keys? If so, haven't their users ever complained
> about that?

Smalltalk's hash (dictionary) does indeed allow both symbols and strings
as keys (and the language differentiates between them as Ruby does.)

Though, the existence of manual pages like the following ("Two flavors
of equality") suggests the distinction was anticipated to be a point of
confusion for some users:

https://www.gnu.org/software/smalltalk/manual/html_node/Two-flavors-of-equality.html


Regards,

Bill



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