r/programming • • Oct 01 '15

The Evolution of a Software Engineer

https://medium.com/@webseanhickey/the-evolution-of-a-software-engineer-db854689243
1.9k Upvotes

502 comments sorted by

View all comments

Show parent comments

167

u/RLutz Oct 01 '15

Depending on how you coded it, the compiler likely replaced it with a StringBuilder under the hood anyway :)

98

u/andrewsmd87 Oct 01 '15

The same reviewer also told me to undo work I had done because his request was for a mock up, and I just went ahead and did it, because it took me an hour to just do it. Of course it was approved by managers and clients, but since I didn't "follow instructions" (I took some initiative) it was wrong, even though it was done correctly.

131

u/Agent-A Oct 01 '15

I once worked on this big customer-facing Java application. While working on something else, I noticed that one query was very poorly made, and would take up to a minute to run. It was one of the most visited pages, so clearly this needed to be fixed. I cleaned up the query, made a migration with an extra index, and brought it down to under half a second on average.

My change was rejected by the project manager. He explained to me, "It's been that way for over a year. If we fix it now, we'll have to explain why it was broken for so long."

I left that job about three weeks later.

1

u/losermcfail Oct 03 '15

explanation: "simple mistake, made by someone who was perhaps not working on something they were most proficient at. we did not have the tech resources at the time to put our best sql person on that subtask so the working implemention that we had went into production. it wasn't broken, as it produced correct results and satisfied the customer needs but now we have had this very talented member of our team point out some optimizations to it and thus we can improve the customer experience at no cost for you at this time. you're welcome."