[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: :-) Sharing a Shower Moment :-

John Carter

12/11/2005 7:55:00 PM

2 Answers

Pete

12/11/2005 8:16:00 PM

0

Java: What type are you?

public final class Duck extends AbstractAnimal implements MayQuack, CanSwim

AbstractAnimal extends Lifeform

Lifeform extends Object

oh, well... hail to type-safety :-)

just say quack, god-damn-it !



On Sun, 11 Dec 2005 20:55:14 +0100, John Carter <john.carter@tait.co.nz>
wrote:

> On Sun, 11 Dec 2005, Ezra Zygmuntowicz wrote:
>
>>
>> On Dec 10, 2005, at 1:47 PM, Daniel Berger wrote:
>>
>>> Trans wrote:
>>>> What did the Rubyist say to the duck?
>>>>
>>>> "What type are you?"
>>>> What did the duck say back?
>>>>
>>>> "Does it matter?"
>>>> T.
>>> Why did the duck cross the road?
>>> To respond to the other method.
>>> That, and the chicken retired.
>>> - Dan
>>
>>
>> If a duck quacks in the woods... Does anyone.respond_to? his calls?
>
>
> You guys are Quacking me up. This is riDuckulous!
>
> Anyhoo, a Javadroid would say "What type are you?" and the Ruby duck
> would give that reply.
>
> A Rubyist would say, "If I asked you to Quack, would you respond?" Or
> using the postfix "unless"...
>
> "Quickly Quack unless have Qualms!"
>
> ...and promptly get nibbled to death by Ducks.
>
> I'll Quit now and go Quietly with no more Quirks.
>
>
> John Carter Phone : (64)(3) 358 6639
> Tait Electronics Fax : (64)(3) 359 4632
> PO Box 1645 Christchurch Email : john.carter@tait.co.nz
> New Zealand
>
> Carter's Clarification of Murphy's Law.
>
> "Things only ever go right so that they may go more spectacularly wrong
> later."
>
> From this principle, all of life and physics may be deduced.
>




Kevin Olbrich

12/11/2005 8:31:00 PM

0

"What's in a Type? That which we call a Duck
by any other class identifier would quack as loudly."

Even Shakespeare got it.


--
Posted via http://www.ruby-....