Ask HN: Strategies for working with engineers that are too smart?
509 points- They're brilliant, I mean very smart people (in an almost academic way?)
- They have a big appetite for adding complexity to systems
- They also have a big appetite for adding work to their own plates
- Their code has no consistent style
I work in embedded systems, so I'm generally writing C for resource-constrained systems. This sort of environment is rife with footguns, and I spend most of my time just trying to avoid those. A big part of that is keeping the things that my team controls as simple as possible, and while we are resource constrained, it's a balance. The tension comes when someone's more than happy to, for example, implement a complex caching scheme from scratch to save a few hundred bytes here, a handful of microwatts there. To me, adding that type of complexity for those sorts of performance improvements is missing the forest for the trees.
When an engineer like this proposes something that adds unnecessary complexity, it's usually hard to argue with. The proposed change typically does indeed make the system objectively better, and they're the one taking responsibility for doing the work and ensuring its correctness. But the overall system becomes a little more brittle, and a little harder to reason about, two things that are much more difficult to measure than memory and power.
Here's an example: an engineer on my current team recently proposed adding a significant feature to a module I wrote to make something dynamic that's currently statically defined at compile time. I pointed out that we could just change a couple entries in a static table to accomplish his goals, and we were able to avoid the extra work. What was notable, though, was his immediate willingness to write that feature. Maybe I'm lazy, but I'd sit there and think of half a dozen other ways to do it before settling on changing the module itself. But because he's smart enough to easily reason about a complicated solution, and he's willing to take on the extra work, he stopped there without weighing it against the larger system.
Have you worked with engineers like this? Do you have any thoughts on how to work with them in a productive and friendly way?
--
One more example if you feel like reading more:
In a past role, I got into a debate about code style with the smartest person I've ever worked with. It boiled down to me advocating for more whitespace in his code and him arguing that adding whitespace made the code harder to read. It took a bit, but eventually I came to understand that he is so good at reading code that he just wants it all laid out in front of him as densely as possible. He can effectively run it in his head, as long as he can see it.
That was baffling to me, I walked away thinking that I must be pretty bad at reading code. I use a very consistent style with long variable and function names, I keep my solutions as simple as I can, and I use whitespace generously to provide visual cues about the code's structure. All of this is to minimize the amount of brainpower I needed to understand my code, so I can put that energy toward thinking about the problem itself.
Comments (474) 222 threads
Earlier commentsMy response would be to ask them to support some other code for a while, turn the tables somewhat and argue against any whacky changes in the name of maintainability.
As other said, maybe these guys aren't as smart as you think they are and they may be difficult to work with. It's hard to say with a couple of anecdotes. Also, they could be good at some things, and yet take bad decisions for other things.
If I were you, I'd try to make my point in a non-conflictual way with rationale arguments and listen to their point of view. Eventually, follow what they say if they're strongly opinionated and have more seniority than you, for the sake of moving forward and avoiding conflict over minor things.
If you really think the issue is important, you can also try to open up the discussion to more people in the company. Like write a proposal to enforce better coding style through the use of code formater (or give a short talk), gather feedback and try to reach a consensus.
But I think I'd let it go. Eventually, you will switch team or company, work with different people, and also be better a determining who you want to work with or not.
It also takes courage to ask this kind of a question and it's clear that you are a rare engineering leader who cares deeply about your coworkers and your output. You probably don't hear thank you enough, so I'll say it again: Thank you for caring.
To your question:
My answer is, always go back to the holistic goal of the system and make sure that the team is aligned - otherwise you fall victim to micromanagement. At the end of the day your job is to expertly balance long and short term goals of the business against long and short term goals of the team. If there are fundamental misalignment between these then nothing you can do will solve the problem it will just come up in different ways and you'll play whack-a-mole forever.
What strikes me about your situation is that your coworker seems to have developed a "knock the task out as quickly as possible" routine, and is really good at delivering quality features quickly. Of course, the industry has done literally everything it can do force engineers into this myopic approach (I won't rant as to why but suffice to say I think it's based on greed) and doesn't make your life any easier.
I don't know what your situation is, but I think finding a way to slow down so that nobody feels rushed and have been actively provided dedicated time for higher abstraction design and architecture. People joke about "Architects" - but this example is precisely why those jobs are critical in many cases. It's your job as the engineering leader to do that architecture work.
Best of luck and keep up the great work!
Give them a library or tool to build that the team can use, something with a clear boundary from the rest of the code base, and that has a fairly limited domain/scope so it won't need constant maintenance.
All comments shown.
Couldn't load more comments. Check your connection and try again.