It was yet another sunny and calm day at work for Jerzy K. For the past couple of hours he was doing some updates to the recommendation application and was now ready to submit the code to the shared repository.
Because there was one more guy from another team working on the project, SVN conflicts were nothing uncommon, and so it came as no surprise when one or two of them occured this time as well. Before blindly updating the code to the latest version Jerzy decided to have a quick look. It was the recently committed Product class that was causing the problem. And this is what he saw:
Being afraid of the explanation, without asking Jerzy reverted the code to its previous version and replaced it with his plain, not-so-innovative and old fashioned one-field-one-variable solution.
But the damage has been done. And still, even nowadays you can hear him screaming somewhare in the night after waking up from a Singleton Field nightmare.
No comments:
Post a Comment