Have you seen any code like this before"
if (x1+y1 + z1 > aa) then.....
or
If (leave1 + leave2 + leave3 > leave4)
And then you have to find out where x1 is assigned and it may be x1 = a + b + c
After 30 minutes of diggin various pieces of code, then you finally found out it may just mean that the employee took too much leave this year, and the system should alert his manager.
I have tried to ask in various organization to bring in business anlayst to review our code. If BA cannot understand what our code means, then it is just not readable enough. Again, I failed! Code review should be programmers' responsibility.
The good thing is that no one else dares to touch your code and enhance your job security.
if (x1+y1 + z1 > aa) then.....
or
If (leave1 + leave2 + leave3 > leave4)
And then you have to find out where x1 is assigned and it may be x1 = a + b + c
After 30 minutes of diggin various pieces of code, then you finally found out it may just mean that the employee took too much leave this year, and the system should alert his manager.
I have tried to ask in various organization to bring in business anlayst to review our code. If BA cannot understand what our code means, then it is just not readable enough. Again, I failed! Code review should be programmers' responsibility.
The good thing is that no one else dares to touch your code and enhance your job security.