Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Splitting program into modules

by Anonymous Monk
on Nov 13, 2018 at 05:13 UTC ( #1225683=note: print w/replies, xml ) Need Help??


in reply to Re^2: Splitting program into modules
in thread Splitting program into modules

I hope you're not recommending 14,000 lines of main program in a single file!

I prefer writing, and hacking on, single file programs. It's much easier than remembering which module contains what code that's performing some action from a distance. I like to keep as much code as possible in the main program file. That being said, I also use plenty of modules, impose sane order on the source to ease navigation, and document everything.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2019-09-17 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (202 votes). Check out past polls.

    Notices?