Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Breaking up a big module

by pwagyi (Scribe)
on Apr 26, 2019 at 01:51 UTC ( #1233006=note: print w/replies, xml ) Need Help??


in reply to Breaking up a big module

If private methods are really tied to module Foo then I don't see what is really gained by separating into separate module file? Are private methods re-used elsewhere?

Replies are listed 'Best First'.
Re^2: Breaking up a big module
by talexb (Canon) on Apr 26, 2019 at 12:26 UTC

    Just imagine that the Foo module is really, really large, and the goal is to break it up into a bunch of smaller modules. :)

    Alex / talexb / Toronto

    Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

      But breaking it up based on public/private is not very natural (as indicated by pwagyi). Have you considered breaking it up based on functionality e.g. by extracting helper classes/objects?

        :) Don't worry, I'm working on breaking it up along functional lines as well. This is a big project.

        Alex / talexb / Toronto

        Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2019-08-21 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?