Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Perl editor idea

by rkg (Hermit)
on Jan 14, 2004 at 03:31 UTC ( [id://321175]=note: print w/replies, xml ) Need Help??


in reply to Perl editor idea

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,

  • because you have your tests and
  • because you've encapsulated and
  • because you have well-defined APIs and
  • because you have good variable names and method names, ala the refactoring folks.

Just my two cents.

rkg

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (None)
    As of 2024-04-25 00:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found