Search code examples
variablesnaming-conventionshungarian-notation

Do you follow the naming convention of the original programmer?


If you take over a project from someone to do simple updates do you follow their naming convention? I just received a project where the previous programmer used Hungarian Notation everywhere. Our core product has a naming standard, but we've had a lot of people do custom reporting over the years and do whatever they felt like.

I do not have time to change all of the variable names already in the code though.

I'm inclined for readablity just to continue with their naming convention.


Solution

  • Yes, I do. It makes it easier to follow by the people who inherit it after you. I do try and clean up the code a little to make it more readable if it's really difficult to understand.