A developer is a person for which his/her code is like a treasure or a baby. Most of the developers are very much serious about their coding, whether he/she is fresher or 10-15 years experience person. In India, we hardly see a developer who is having 10 or 15 years experience in coding. If we find any such person then he/she will be like hardcore coder as the corporate practice doesn’t provide career growth after certain years on the technical side. They must choose a managerial option for further growth.
Anyways coming back to topic what can be developer’s worst nightmare? breakup with the girlfriend? Getting sacked? Appraisal ? Code not getting committed? Incorrect requirement? I think the one I have seen in my lifetime is when code fails on production and on other side works perfectly fine in every single environment. Most of the techies come with the reason that code is working on dev/test/UAT environments. But from a production perspective, working code in any other environment but not in production holds no value and results in the back out.
To avoid such situations developers needs to go beyond their component scope by understanding the production environment needs domain requirements, system architecture/versions/bugs. Another important factor is the load, in large production environments, most of the times due to lack of performance testing code fails to sustain against high customer load. Also sometimes to parallel user stories delivered at the times can cause the problem with each other due to common services they are using during their journey cycle.There can be many such scenarios. But definitely understanding production scope and working will definitely reduce the likelihood of code failure. 🙂