The variables "Cust", "Cmmts", "Comments", and "Del" should have different names. What are they? I spent half a day just trying to figure out what everything was, one line at a time. You can't globally locate, edit, cut, paste, or change without fucking up everything else. (And please don't ask me to use a fancier IDE. Just name your variables so the next guy doesn't have to suffer.)
Comments
The original programmer will be fine once the stitches are removed.
Actually, all kidding aside, yesterday I enhanced a 1700 line program with these variables:
The variables "Cust", "Cmmts", "Comments", and "Del" should have different names. What are they? I spent half a day just trying to figure out what everything was, one line at a time. You can't globally locate, edit, cut, paste, or change without fucking up everything else. (And please don't ask me to use a fancier IDE. Just name your variables so the next guy doesn't have to suffer.)Just structure your data so the next guy doesn't have to suffer.
Cust.Name
Cust.Cmmt (commit?)
Cust.Comments
Cust.Number
etc.