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 commentsAfter a few years maintaining systems, I do not use the word "simple" for anything software or computer related anymore. I'm glad if something works as advertised - and I'm delighted if I see people putting in effort to make someone else's life easier.
People, who appear smart may well indeed be just a little frustrated. Not the person who makes things more complicated or ask complex questions is smart - that difference seems to escape some of the even smartest people.
As for working with these people, I don't know. You have to endure them, make them aware of the tradeoffs that are made, in the best case show them something simpler, that accomplishes the goal.
There is a hierarchy of code quality by difficulty, and it takes increasing smarts to ascend the ladder here:
1. Simple but bad code. - the developer doesn't understand the problem and just writes simple straightforward and wrong code
2. Complex bad code - the developer understands the problem and tries to solve it, but is just making everything worse.
3. Complex good code[0] - the developer solves the problem convincingly, but in a complicated way that perhaps only they understand.
4. Simple good code - the developer realizes a simpler way they could solve the same problem and writes it in a way that allows others on the team to understand and maintain it.
Your developers are currently at a 3, and you need to push them to ascend to 4. If you get your smart devs using their brains to remove complexity from your system with stunningly clever simplifications, everyone will be better off. And it can't be faked, it's truly difficult to solve hard problems with simple code.
[0] "I object! Complex good code is an oxymoron!" Listen, for the sake of this comment, "good code" means all other measures of quality other than complexity. Efficiency, solving all problem constraints, well commented, etc.
This is actually in part a management issue, and process issue.
Whoever is managing the team's work shouldn't allow developers to go rogue and start doing whatever they want. Everything is a card. Everything is prioritised. If the work isn't going through a sanity check and being thought about in the context of everything else then the developer has gone rogue.
Once you have everything being carded up properly (requirements, acceptance criteria etc) then quality control happens during card show-casing / pull-request review. If someone has gone beyond the requirements, don't let it fly during pull-request review. Separate pull-requests for separate cards - no combining them all into one, no working on multiple cards at a time.
Stick to the process and be an anal card and process nazi about it. Don't let things slip.
> - Their code has no consistent style
This is a team standards issue. You need to get together as a team and together agree on a consistent style. People's code who breaks the standard shouldn't make it past pull-request review. You can also introduce linting tools to help enforce the standard.
Assuming you have them, get the team lead and PM in a room together to discuss how to put all of this together. You might find that one of the bigger issues here aren't the team members themselves but whoever is leading the team.
Me: Hey, I got a question I was hoping you could answer. What do you think is harder, writing code or reading code?
Them: That depends who are we talking about?
Me: Idk, I mean it sort of generally. Let’s start with which you think is easier/ harder for other people.
Them: Probably reading code.
Me: like how much harder?
Them: Maybe 2-3x harder ———————-
Then, next time you have a one on one, or you do like a team meeting bring up this point and say that if reading code is 2-3x harder than writing code, then we should strive for our code style to be within an understandability budget. If we write code at our max intelligence, let’s say one of your team mates has a super 10/10 intelligence, then it requires a 15/10 to understand it and it’s therefore out of budget.
I’m an engineer and I’ve used different versions of this argument to great success in convincing people as to the merits of why it’s good to write code that’s intentionally “dumber”.
Roadblocks that I’ve had in the past have come down to communication issues, where in one situation in particular a fellow engineer didn’t want to give answers to the question or be pinned down to even rough easier/harder for reading/writing code. In general, engineers like this don’t understand how they’re perceived by others and they can’t understand how their work affects others, and what can you do? I’m not sure, nothing works 100% when it comes to people.
All comments shown.
Couldn't load more comments. Check your connection and try again.