For finding sections of my code, I use a heading, via comments, but one that is large and easy to see when scrolling quickly past it. This can be as simple as something like this for a function...
...or with my HTML code to be able to easily find a section there...# ------------------------------------------------------------- # P R O C E S S R E P L A C E M E N T S # -------------------------------------------------------------
...to something more noticeable for a group of functions or a section of HTML, like this:<!-- #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^ # ******* S T A R T O F J A V A S C R I P T S H E R E ! ! ! **** +*** #_____________________________________________________________________ +____ -->
(Yes, I found that text art online somewhere and copied it...too much work to make it myself!)<!-- #^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ # ******* N E W A C C O U N T C R E A T I O N ******* #________________________________________________________ ----- +----- 1 | H | +|He | |---+---- -------------------- ++---| 2 |Li |Be | | B | C | N | O | F +|Ne | |---+---| |---+---+---+---+--- ++---| 3 |Na |Mg |3B 4B 5B 6B 7B | 8B |1B 2B |Al |Si | P | S |Cl +|Ar | |---+---+---------------------------------------+---+---+---+---+--- ++---| 4 | K |Ca |Sc |Ti | V |Cr |Mn |Fe |Co |Ni |Cu |Zn |Ga |Ge |As |Se |Br +|Kr | |---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+--- ++---| 5 |Rb |Sr | Y |Zr |Nb |Mo |Tc |Ru |Rh |Pd |Ag |Cd |In |Sn |Sb |Te | I +|Xe | |---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+--- ++---| 6 |Cs |Ba |LAN|Hf |Ta | W |Re |Os |Ir |Pt |Au |Hg |Tl |Pb |Bi |Po |At +|Rn | |---+---+---+------------------------------------------------------- +----- 7 |Fr |Ra |ACT| ------------- -------------------------------------------------------- +----- Lanthanide |La |Ce |Pr |Nd |Pm |Sm |Eu |Gd |Tb |Dy |Ho |Er |Tm |Yb +|Lu | |---+---+---+---+---+---+---+---+---+---+---+---+---+--- ++---| Actinide |Ac |Th |Pa | U |Np |Pu |Am |Cm |Bk |Cf |Es |Fm |Md |No +|Lw | -------------------------------------------------------- +----- -->
Sometimes my header can be removed once active development on that section is complete. It just helps me find it at the time I am working with that section.
These headers have been my way of navigating my code more easily, as each of the 20+ files in the required codebase has over 1,000 lines on average.
Blessings,
~Polyglot~
In reply to Re: Where to place POD
by Polyglot
in thread Where to place POD
by Bod
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |