by cesarbs · 10y ago · 0 comments
When I was fresh out of college I would jump at any such puzzle that was presented to me and would not sleep until I had solved it. I never stopped to think about the larger picture where that puzzle was embedded in, and if it actually required solving or if a more pragmatic solution was at hand and would lead to the same outcome.
Now that I have some years of experience in the industry, I realize that 80% of the "puzzles" I face at work are bullshit. They are usually complicated situations generated by organic and uncontrolled growth in codebase complexity that lead to horrible scenarios requiring a lot of brain power to solve. The thing is, if things had been more properly thought out, those situations would have not occurred in the first place, because the code would have a lot more sound architecture. But because it was allowed to grow without thought and refactoring, it now offers many "puzzles" that the younger people in the team don't even question at a more fundamental level.
Sorry for the cynicism but it's honestly the way I feel about most of the work I do these days. Too much in terms of stability, maintainability and soundness is sacrificed for performance and for pushing things out the door asap.
The cynic in me likes to widen the scope one step further, then those figurative 80% are the fraction of software created that is basically "twitter for pets" (or some transitive dependency thereof, technologically or via business). It's easy to focus on one of the many exciting puzzles hidden inside a "twitter for pets", but if you take a step back (and yes, that's one of the perils of age), well, twitter for pets.
Agreed. The deeper I get into the software field, the more it feels like choreography.
When you realize it really does need to be built and it is the highest priority, think about how it can be built while keeping cruft down. You can still be fast while keeping the codebase clean but it requires constant refactoring and review and a common understanding between team members.
Of course, as I type this, I come to the shaking realisation that Humans are also a component of the Universe. I need to reevaluate my emotions.
Amen, brother. Just four years of work experience here, but I can totally confirm that. The actual product is built in a week, then it's multiple months of "this department over there needs a special case implemented pronto".