Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re (tilly) 5: Ruby: An Abbot breaks silencewind

by tilly (Archbishop)
on Jun 11, 2001 at 19:56 UTC ( #87551=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Ruby: An Abbot breaks silencewind
in thread Ruby: An Abbot breaks silencewind

What you want is trivial to do:
package Logger; my %instance; sub instance { my $class = shift; return $instance{$class} ||= bless {@_}, $class; }
As for Java's type system, I am not so convinced it is a win. A few articles for thought, Java is untyped, late binding is good, and strong typing.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://87551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2022-05-29 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?