hi all
i came to work for the company i work for now in september and they have a lot of Dreamweaver generated ASP, PHP and Javascript. as well as some other scripts that no one understands but they work. my job it to maintain and upgrade these scripts. my question is should i go through all of the hidious code we currently use and replace it with clean code or should i leave the mess Dreamweaver made and just try to fix it bit bit as we need upgrades.
example. today i had to add some creative form validation to a online application and the software used to generate the code did a terriable job. and the script was several pages long. i could have re written the same thing in about a half page of php and had a better grasp on what was going on for future changes. i chose to work with what was there and know three hours later i am starting to regret my decision.
what do you all think
i came to work for the company i work for now in september and they have a lot of Dreamweaver generated ASP, PHP and Javascript. as well as some other scripts that no one understands but they work. my job it to maintain and upgrade these scripts. my question is should i go through all of the hidious code we currently use and replace it with clean code or should i leave the mess Dreamweaver made and just try to fix it bit bit as we need upgrades.
example. today i had to add some creative form validation to a online application and the software used to generate the code did a terriable job. and the script was several pages long. i could have re written the same thing in about a half page of php and had a better grasp on what was going on for future changes. i chose to work with what was there and know three hours later i am starting to regret my decision.
what do you all think
Comment