Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 surveying the Monastery: (2)
As of 2021-09-28 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?