Dogshit code

By Gunaditya Tripathi - 14/08/2021 13:31 - India

Today, one of my colleagues was asked to rewrite an entire project, which I wrote last week. I'd spent more than 4 days writing it. FML
I agree, your life sucks 767
You deserved it 173

Same thing different taste

Top comments

So, you wasted 4 days of company time creating useless garbage? Now, a coworker has to take away from what they might be doing to do your job for you? You might want to be quiet on this before your boss realizes your negative impact on the company.

Clearly you failed to produce the desired results. Many times a failed project is the result of misunderstanding or miscommunication about what is expected. It’s better to get some confirmation on what is expected than to plow ahead not really understanding what you boss wanted and expected. Once you start a project but well before completion it can be wise to check and make sure you and your boss are on the same path. I am not saying go back with every little step, but get enough feedback to make sure you are on the track to delivering what your boss wants. While this is embarrassing and annoying to you, keep that part of it to yourself. It’s usually not best to point out to others your failures by complaining about them. We all have to honestly acknowledge our failures and work on improving our results, but it’s not wise to complain about the consequences. One final thing - Just like in the Dilbert cartoon world sometimes the boss already knows what they want you to recommend as a result of your report. In that case they just want someone to justify the decision they have already made in their mind. As an engineer I sometimes ran into this. Communication is key, at the outset carefully try to figure out if boss has already decided on the end result they want and why. Be sure to take those concerns into account. If recommending what the boss has already decided will not hurt the company or the customers you might as well do as they want since they will find someone else to recommend it if you won’t. Where there is a genuine conflict with reality, and the boss’s way would hurt the company or the customers (which would ultimately hurt the company) then you need to be very careful. It’s not advisable or smart to abandon your integrity unless you work for organized criminals. Try to explain, without insulting the boss why you make the recommendations you do. Leave the ultimate decision up to the boss, though.

Comments

So, you wasted 4 days of company time creating useless garbage? Now, a coworker has to take away from what they might be doing to do your job for you? You might want to be quiet on this before your boss realizes your negative impact on the company.

Clearly you failed to produce the desired results. Many times a failed project is the result of misunderstanding or miscommunication about what is expected. It’s better to get some confirmation on what is expected than to plow ahead not really understanding what you boss wanted and expected. Once you start a project but well before completion it can be wise to check and make sure you and your boss are on the same path. I am not saying go back with every little step, but get enough feedback to make sure you are on the track to delivering what your boss wants. While this is embarrassing and annoying to you, keep that part of it to yourself. It’s usually not best to point out to others your failures by complaining about them. We all have to honestly acknowledge our failures and work on improving our results, but it’s not wise to complain about the consequences. One final thing - Just like in the Dilbert cartoon world sometimes the boss already knows what they want you to recommend as a result of your report. In that case they just want someone to justify the decision they have already made in their mind. As an engineer I sometimes ran into this. Communication is key, at the outset carefully try to figure out if boss has already decided on the end result they want and why. Be sure to take those concerns into account. If recommending what the boss has already decided will not hurt the company or the customers you might as well do as they want since they will find someone else to recommend it if you won’t. Where there is a genuine conflict with reality, and the boss’s way would hurt the company or the customers (which would ultimately hurt the company) then you need to be very careful. It’s not advisable or smart to abandon your integrity unless you work for organized criminals. Try to explain, without insulting the boss why you make the recommendations you do. Leave the ultimate decision up to the boss, though.

Well, at least YOU don't have to rewrite it?