[#2529] concerns about Proc,lambda,block — "David A. Black" <dblack@...>

Hi --

39 messages 2004/03/01
[#2531] Re: concerns about Proc,lambda,block — ts <decoux@...> 2004/03/01

>>>>> "D" == David A Black <dblack@wobblini.net> writes:

[#2533] Re: concerns about Proc,lambda,block — "David A. Black" <dblack@...> 2004/03/01

Hi --

[#2537] Re: concerns about Proc,lambda,block — matz@... (Yukihiro Matsumoto) 2004/03/01

Hi,

[#2542] Re: concerns about Proc,lambda,block — Mathieu Bouchard <matju@...> 2004/03/02

[#2545] Re: concerns about Proc,lambda,block — matz@... (Yukihiro Matsumoto) 2004/03/02

Hi,

[#2550] Re: concerns about Proc,lambda,block — Mauricio Fern疣dez <batsman.geo@...> 2004/03/03

On Wed, Mar 03, 2004 at 07:51:10AM +0900, Yukihiro Matsumoto wrote:

[#2703] Proposed patch to add SSL support to net/pop.rb — Daniel Hobe <daniel@...>

This patch adds support to Net::POP for doing POP over SSL. Modeled on how

19 messages 2004/03/27
[#2704] Re: Proposed patch to add SSL support to net/pop.rb — Daniel Hobe <daniel@...> 2004/03/27

This is v2 of the patch. Cleaned up a bit and added some more docs.

[#2707] Re: Proposed patch to add SSL support to net/pop.rb — Daniel Hobe <daniel@...> 2004/03/28

v3 of the patch:

[#2721] Re: Proposed patch to add SSL support to net/pop.rb — Minero Aoki <aamine@...> 2004/03/30

Hi,

Re: concerns about Proc,lambda,block

From: Austin Ziegler <austin@...>
Date: 2004-03-02 22:18:37 UTC
List: ruby-core #2543
On Wed, 3 Mar 2004 06:38:20 +0900, Mathieu Bouchard wrote:
> On Tue, 2 Mar 2004, Yukihiro Matsumoto wrote:
>> In message "Re: concerns about Proc,lambda,block"
>> on 04/03/02, "David A. Black" <dblack@wobblini.net> writes: |
>> irb(main):014:0> n.arity == m.arity |   => true
>> I think these arity values should be different.  I will fix. Making
>> them separate class is the issue I have not yet get conclusion.
> Hi Matz, may I remind you that I wish proc/block/method were closer, with
> as few differences as it makes sense, because it's a mess explaining it
> to someone else, and it's a mess remembering how it works, and the
> differences between versions of Ruby. So I hope Ruby 2.0 will make it
> _simpler_ and _final_. I don't want them to change again in 2.2 and 2.4.
> I think making them simpler will reduce the temptation to change them
> again.
>
> (Oh, and I still want the merging of Class and Module, even though I
> won't talk much about it anymore. I mention it because it's the same kind
> of thing; that is, it's about removing unnecessary elements from the
> language.)

I agree with your suggestion for proc/method/block, because they're all 
"Callable" objects.

I disagree with what you have suggested about Class/Module. I don't think 
that this is a harmful distinction, and actually makes the language easier 
to use. Without the Class/Module distinction, then there's little to 
distinguish Ruby from languages which have multiple inheritance; I prefer 
the conceptual clarity that mix-ins provide.

-austin
--
austin ziegler    * austin@halostatue.ca * Toronto, ON, Canada
software designer * pragmatic programmer * 2004.03.02
                                         * 17.10.41




In This Thread