Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: Why breaking can() is acceptable

by stvn (Monsignor)
on Apr 06, 2004 at 13:59 UTC ( [id://342925]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re: Why breaking can() is acceptable
in thread Why breaking can() is acceptable

For me OO is a tool, not an ideal. You can feel free to apply pejorative terms to me for what results from that attitude, but insults won't rearrange my priorities.
Good code is good code, when I do code reviews that is all i care about. The paradigm used is irrelevant. I personally prefer OO, it lends itself to the way my mind works. But I also love functional and declarative programming, to me they are fascinating and elegant, but short of "declarative" SQL, I don't get to do them much at work.
If I feel inclined to use an AUTOLOAD, and I think that in the situation where I'm using it, it is justified (which is in actuality rather rare), then I'll use it and not be bothered overly much if I leave can broken.
I agree, I see AUTOLOAD much like source filters. A really cool and interesting tool, but one that should not be used lightly, and only in the hands of someone who really knows what they are doing. As for leaving can broken, if it is your code its your perogative. If you are releasing it to the public I would argue you shouldn't, but you still dont have to agree with me :) so again, your code, your choice (although I would be inclined to write you a patch just to mess with you).
I'll admit, though, that most people who fundamentally agree with me haven't necessarily thought the matter out as much as I have. Then again I don't think that most who disagree have thought about it that much either.
This my friend, is where you have hit the nail on the head. Too many people don't think these things through thoroughly. But then again too many people don't test thoroughly either.

-stvn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-10-08 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (44 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.