[#18121] [Ruby 1.8.7 - Bug #405] (Open) ssl.rb:31: [BUG] Bus Error — Anonymous <redmine@...>

Issue #405 has been reported by Anonymous.

14 messages 2008/08/04

[#18130] Re: New array methods cycle, choice, shuffle (plus bug in cycle) — Brian Candler <B.Candler@...>

> Seriously though... Array.first is a noun.

10 messages 2008/08/05

[#18319] NEW Command: absolute_path() -- — "C.E. Thornton" <admin@...>

Core,

14 messages 2008/08/16
[#18321] Re: NEW Command: absolute_path() -- — Yukihiro Matsumoto <matz@...> 2008/08/18

Hi,

[#18381] [Bug #496] DRb.start_service(nil) is very slow — Hongli Lai <redmine@...>

Bug #496: DRb.start_service(nil) is very slow

11 messages 2008/08/25

[ruby-core:18173] Re: New array methods cycle, choice, shuffle (plus bug in cycle)

From: "Michal Suchanek" <hramrach@...>
Date: 2008-08-07 18:31:00 UTC
List: ruby-core #18173
On 05/08/2008, Brian Candler <B.Candler@pobox.com> wrote:
> > Seriously though... Array.first is a noun.
>
>  Really? I read it as an adjective: "[the] first [element of the Array]"
>
>  I can think of a few cases where it's used as a noun:
>
>   "I got a first" [class degree]
>
>   "I shifted from first to second" [gear]
>
>  Although if there is any agreement in this thread, it will certainly be a
>  first :-)
>
>  Regards,
>
>  Brian.
>
>  P.S. FWIW, I feel that extra trivial methods to Array bloat the API, and
>  just make it harder to find the (important core) method you need when
>  searching the documentation.
>
>  If this continues, in the end it may become attractive to look away from
>  Ruby to other, simpler, leaner languages.
>
>  There were a number of substantive additions which were made from 1.6 to
>  1.8, such as StringIO. But for me, a method which just does
>  Array#sort_by{rand} doesn't fall into this class - it seems to be
>  change for change's sake.

IIRC there was a medium-length thread about shuffling arrays which
required a few stabs at implementation until it was quite right. So
yes, this is useful even if it is two lines of ruby code that could
just as well be placed into docs or somewhere.

Thanks

Michal

In This Thread