Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Philosophy of a "new" method

by pajout (Curate)
on Feb 04, 2011 at 10:06 UTC ( #886176=note: print w/replies, xml ) Need Help??

in reply to Philosophy of a "new" method


I think about such themes in this way:
Q: What goal I have?
A: To obtain new object instance in meaningful state.
Q: How to do it?
A: Start with simplest new() method and gradually add initial data structures. If it starts to be too chaotic, improve it, for instance using init() inside new(). If it, after some development, does not fit requirements well, develop other mechanism...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://886176]
[LanX]: the language or the "Anglos" in general? ;-)
[LanX]: Donald Trump's first UK post-election interview
erix is not interested what the imbecile-in-chief has to say -- only what he will do
[GotToBTru]: that sounds fair to me
[davies]: I've just "approved" using syscalls in perl through inline c for at least the third time, but it still appears to me as unapproved. Is this just me?
[LanX]: erix: other side of the pond

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2017-01-16 14:59 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (151 votes). Check out past polls.