My application, full of global variables, is creeping toward 3000 lines, and I'm finding that I'm using repetitive comments for many instances of some variable names to remind me of interdependencies. I find this much easier than referring to a long block of comments before each edit. I've substituted brief comments that say "see label XXX" for some full comments and I've labeled the full comments so I could search for them fairly easily, but some comments have web addresses of relevant information, which I have to navigate to using a browser. I thought of a better way to handle this, but it would require a custom editor.
If I ever have the time, I might look into customizing an open source editor to make it scroll to the part of the code that contains the label that's clicked in a comment. Clicking the label that you were brought to would bring you back. The editor would also open a window that displays a text version of a web page or local file when I click its address in a comment.
I'd also like the scroll bar's track, or whatever it's called, to be numbered and allow me to click a number to highlight it so I'd know where to scroll to get back to a certain part of the script. A vertical tab feature would serve a similar purpose.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.