[#1263] Draft of the updated Ruby FAQ — Dave Thomas <Dave@...>

33 messages 2000/02/08

[#1376] Re: Scripting versus programming — Andrew Hunt <andy@...>

Conrad writes:

13 messages 2000/02/15

[#1508] Ruby/GTK and the mainloop — Ian Main <imain@...>

17 messages 2000/02/19
[#1544] Re: Ruby/GTK and the mainloop — Yasushi Shoji <yashi@...> 2000/02/23

Hello Ian,

[#1550] Re: Ruby/GTK and the mainloop — Ian Main <imain@...> 2000/02/23

On Wed, Feb 23, 2000 at 02:56:10AM -0500, Yasushi Shoji wrote:

[#1516] Ruby: PLEASE use comp.lang.misc for all Ruby programming/technical questions/discussions!!!! — "Conrad Schneiker" <schneiker@...>

((FYI: This was sent to the Ruby mail list.))

10 messages 2000/02/19

[#1569] Re: Ruby: constructors, new and initialise — Yukihiro Matsumoto <matz@...>

The following message is a courtesy copy of an article

12 messages 2000/02/25

[ruby-talk:01219] Re: Trivial FAQ bug

From: "Conrad Schneiker" <schneiker@...>
Date: 2000-02-02 05:51:18 UTC
List: ruby-talk #1219
----- Original Message -----
From: Dave Thomas <Dave@thomases.com>
To: ruby-talk ML <ruby-talk@netlab.co.jp>
Sent: Tuesday, February 01, 2000 10:01 PM
Subject: [ruby-talk:01218] Trivial FAQ bug


<snip>
> In general, would anyone be interested in Andy and I taking the
> English FAQ and updating it? We'd be more than happy to.

I think that would be great--especially if some of the explanations could be
slightly elaborated in terms of explaining *why* things are the way they
are.

For instance, besides noting that Ruby doesn't treat "" as false like Perl
does, is there a good language design or programming practice reason for
this? Being new to Ruby and not being familiar with the reasons for such
things, it seems to me that Perl's treatment of "" in conditions is somewhat
less error-prone and somewhat better follows the principle of least
surprise.

Since I am still learning Ruby, I thought it would be useful learning
exercise to do a "Ruby Cookbook" FAQ for Perl programmers (an idea I got
from a recent suggestion in the Python newsgroup to in effect translate the
Perl Cookbook into Python). Any interest in this? One of the first things I
would like to include would be examples of Ruby equivalents for Perl's map
and grep functions, which I make heavy use of.

Conrad

In This Thread