Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: To use or not to use OO Perl

by SpanishInquisition (Pilgrim)
on Oct 25, 2004 at 17:26 UTC ( [id://402267]=note: print w/replies, xml ) Need Help??


in reply to Re: To use or not to use OO Perl
in thread To use or not to use OO Perl

For interface sanity, clean encapsulation and maintenance purposes use OO,
I do not think OO is more maintainable when you are comparing advanced programmers to advanced programmers.

Hybrid functional development allows functional programming with objects. Even Lisp has structures.

FP code in itself can be incredibly easy to maintain, especially because the chain of function calls is usually very short and direct ... that, and short automagical functions are encouraged.

OO does an excellent job, though, when you really can't trust everyone in the codebase. It defines boundaries, rules, and operations ... a well defined and documented API does this in the same way, though it doesn't force a design methodology on the entire codebase and through every class/source file.

Replies are listed 'Best First'.
Re^3: To use or not to use OO Perl
by demerphq (Chancellor) on Oct 25, 2004 at 18:18 UTC

    I do not think OO is more maintainable when you are comparing advanced programmers to advanced programmers.

    True. Advanced programmers tend to push the envelope regardless of the technology involved. :-)


    ---
    demerphq

      First they ignore you, then they laugh at you, then they fight you, then you win.
      -- Gandhi

      Flux8


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found