3 ms·
The problem is that if you give a rocket engineer the job of opening a pickle jar, you are forever in danger of them doing something titanically ornate, instead
by hinkley 7y ago
The problem is that if you give a rocket engineer the job of opening a pickle jar, you are forever in danger of them doing something titanically ornate, instead of just opening the goddamn jar or installing one of those toothy wedges under a cabinet near the fridge, where people can still function normally if they forget it's even there.
The one time I worked on a team of all highly senior people you couldn't get any of us to do anything. We were always writing code to do the thing for us. Which sounds okay at first, until you started trying to trace through all that code and then holy shit, we have made a terrible mistake.
On any project there is a mix of tasks that are perfectly suited for mid-level developers, and a set of tasks that are interesting enough but relatively low risk that you can use to train up low- and mid-level people for something meatier. Many of those tasks are also perfect for introducing new team members too.
If you aren't constantly trying to make 90% of the tasks simple enough for a boring team member to do then I don't know how you prevent the overall complexity of the system from eventually swamping you all. There are systems that look like they avoid this but if you look hard enough there is almost always one or two people who are holding the system hostage, and if they don't want something done to the system, it's not getting done, no matter how many customers leave. Eventually power overshadows merit and you get an oligarchy instead of a democracy.
- TeMPOraL 7y ago> If you aren't constantly trying to make 90% of the tasks simple enough for a boring team member to do then I don't know how you prevent the overall complexity of the system from eventually swamping you all. One has to keep in mind that the things should be as simple as possible, but no simpler. Otherwise, you risk ending up with the stereotypical low-skill Java Enterprise shop, where inexperienced and not particularly skilled developers end up writing (or autogenerating) code by kilolines, where if someone better trained were to stop and think for an hour, it could all be done in 100-1000x less code, and with similar improvement in maintainability.
- hinkley 7y agoYes, and for me the happy ratio is around a 90:10 split. There is a time and place for really sophisticated code, and people will just have to expend some effort to understand its behavior at least, if not in fact how it accomplishes it. If that's leaking throughout the system then it's likely a code smell. I'd like to reiterate that the statement you quoted was made in the active voice. It's a process. As you add things to the system you should be looking at all of the pain points around it and amortizing the cost of addressing those issues. If you don't arrive there around the time the system begins to gel, but before calcification, you will never arrive. But if you try to get there from day one, you'll pick the wrong priorities and you'll certainly end up in that Enterprise hell you mention. What I see happen is that people grow with the project, memorizing one thing after another without ever appreciating the weight of it all, and then one day they have to hire more people because someone left, and all of a sudden they're terrified of letting that person do any real work. Because how could they know? Absolutely no effort has been expended setting new people up for success, and the token efforts feel more like sabotage than help. Then it takes years of their lives to memorize all the same stuff and really, I believe you should be investing that time in something more worthwhile. I'm living through that again and it's every bit as bad as I remembered.
- TeMPOraL 7y agoThank you for elaborating. What you wrote resonates very strongly, it's essentially the way it's been in every job I worked on. Hell, I'm guilty of it myself - once I have my own fiefdom in the codebase, I feel terrified of letting someone else work in it. In my mind, I have the vision of them struggling unproductively because they lack the knowledge about all the tiny little idiosyncrasies, of various design decisions that were never documented, etc. I recognize this is a wrong state of things, but it's hard to fix.
- gen220 7y agoI feel like a step towards a solution to this problem (which I likewise observe), is to document these idiosyncrasies in the code. My rule of thumb is that when I write or read weird code that's necessarily weird (to avoid idiosyncrasies in downstream/upstream systems), I try to add a very concise clarifying comment that acknowledges the code as weird, and points in the direction of both the problem we're avoiding and some potential solutions to make the code less weird in the future. For example, when reading an old codebase, if I invest 20 minutes in determining why the code differs from the documentation, I add a comment saying `NOTE(gen220): the code does not match the comment. The reason appears to be X. We might resolve this with Y or Z`. That, or update one of either the code or the comment, whichever makes the most sense in the situation. That way, a new team member (or myself, but 2 years older) won't have to stumble in the same places, and are empowered to take a stab at fixing the problem, which has been documented for them. Personally, when my idiosyncrasies are so-documented, I feel much safer handing things off.
- wayoutthere 7y agoExactly! Most of tech is what I would consider "trade school" level work. That is, it's not really any harder than if you went to trade school for HVAC. Sure there's lots of thermodynamics and air flow stuff involved, but you don't need a physics degree. You just need training, and experience is 90% of the job qualifications. People routinely overestimate the importance of their "skill" at most jobs.