[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Yield should be renamed call_block

Yukihiro Matsumoto

7/10/2007 4:28:00 AM

Hi,

In message "Re: Yield should be renamed call_block"
on Tue, 10 Jul 2007 09:10:07 +0900, Bertram Scharpf <lists@bertram-scharpf.de> writes:

|> If you check explicitly, yes. But implicit is better than explicit,
|> if you and computer feel same way.
|
|There is a implication uncertainity relation: either
|`&block' is implicit or `raise if block_given?' is.

I meant 'raise if block_given?' being explicit

matz.

1 Answer

Bertram Scharpf

7/10/2007 9:32:00 AM

0

Hi,

Am Dienstag, 10. Jul 2007, 13:28:27 +0900 schrieb Yukihiro Matsumoto:
> In message "Re: Yield should be renamed call_block"
> on Tue, 10 Jul 2007 09:10:07 +0900, Bertram Scharpf <lists@bertram-scharpf.de> writes:
>
> |> If you check explicitly, yes. But implicit is better than explicit,
> |> if you and computer feel same way.
> |
> |There is a implication uncertainity relation: either
> |`&block' is implicit or `raise if block_given?' is.
>
> I meant 'raise if block_given?' being explicit

Sorry. This discussion really drives me round the bend.

Bertram


--
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-...