My friend, who is working as a team lead of the million dollars’ software development in Singland, is complained to me on the quality of his team members.
During one of his meeting, he told a team member A to write a program to produce an output similar as follow:
Min: 1 Max: 10 Output: RM 1Min: 11 Max: 20 Output: RM 2
So, the A just simple hard coded the figure into the program as follow:
Ok! For most of you, the hard coding sound perfectly fine; however, for a huge project, it will be a nightmare. It will cause lot of maintenance issue. The better solution is the code should be created as an object.
As conversation move on, we have come into conclusion that lot of programmer always look for short cut to complete their work, and without giving any thought over the issue.
I also facing the similar issue with my vendor, they have using many hard coded in their program. Therefore, if we wanted to do any changes, they will need an extensive of time to do the modification and many errors will occur. Plus, they never do any quality check over the program. This has created many unnecessary troubles for us.
To be a good programmer, he/she must know how to minimize the line of code, use effective way of doing the program, and must know how to test his/her own program. However, it is very hard find this kind of programmer anymore. :(
No comments:
Post a Comment