|Just another Perl shrine|
Re: Perl editor ideaby rkg (Hermit)
|on Jan 14, 2004 at 03:31 UTC ( #321175=note: print w/replies, xml )||Need Help??|
Chromatic is right -- your problem isn't your editor, it is your code: it is nearly humanly impossible to keep 3000 lines of code and globals straight.
Chunking up your code -- subroutines, modules, or best, objects -- let you encapsulate behavior. Instead of building a 3000 line monster, you build a toolkit of little safe, snap-in software components, then build these up into larger components.
Takes some investment to learn this style of coding, but Very Much Worth it. See for example, perlboot, or Damian's book.
When writing code this way, I often feel I am getting nothing done -- just building (and unit testing!) little safe easy functions.
I work and work and work, and nothing seems to be happening (except happy tests), then all of sudden the larger app stands up walks.
It is almost suprising to see it.
And it feels good to know you don't remember anymore how every tiny detail in the system works, but that is OK, you're safe,
Just my two cents.
In Section Meditations