in reply to Re: reg ex. problem - 2 variables
in thread reg ex. problem - 2 variables

I'd add "Don't comment code so far over in the eastern hemisphere that you need magic or jet travel to get there." All those comments are on the ends of lines and padded so far to the right that on most monitors they would never be seen.

I'd amplify your "Don't comment code self-explanatory code." comment: if you need to comment every line then the code you are writing is too tricky! Remember, it's at least twice as hard to debug something as it is to write it, so if you are writing the cleverest code you can, you can't debug it!


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^3: reg ex. problem - 2 variables
by mreece (Friar) on Oct 04, 2006 at 23:19 UTC
    so far to the right that on most monitors they would never be seen
    this might make a good poll. who keeps their terminals at 80 columns these days, and/or codes in an editor that doesn't have soft-wrapping?