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 commentsThere's a lot of fine points made here already by other commenters. I will say that long-term maintenance of software is a non-trivial concern. If you can identify that a change is good in terms of, say, power consumption but bad, say, in terms of making the system more brittle you now have an optimization decision. Do you _need_ better power consumption enough to sacrifice developer time long-term, potentially introducing bugs in the future?
- 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"
These statements contradict each other, or at the very least these people are not good engineers, even if they're smart in the sense of being able to deal with complex ideas. Good engineers do not code with an inconsistent style, nor do they add unnecessary complexity when it was avoidable, just to satisfy intellectual curiosity.
The real smarts are to be found in simple, clean, clear code with obvious lines of control. Great code can look almost 'dumb' to the 'fresh off a CS course' grad. This is the difference between cleverness and the wisdom and the good taste to know the right balance to strike in code.
To me the whitespace/code style issue is separate. Personally I think there are more benefits to letting people make these choices according to their own preferences rather than trying to come up with some consensus and then enforce it.
Nah. Their take is from an engineering standpoint. The type of brilliant people they're talking about can reason about terrible code, but most software engineers aren't like that, and it doesn't make sense for these brilliant people to ignore good engineering practices because no company can afford to hire only geniuses.
> Personally I think there are more benefits to letting people make these choices according to their own preferences rather than trying to come up with some consensus and then enforce it.
Having various styles of code on the same codebase is inefficient. Most styles are chosen arbitrarily (e.g. where to put opening braces in C) and you should follow whatever style the codebase uses. Once you push code to a repo it is no longer yours. There is no engineering value in mixing in your own preferred style.
Usual acronyms of Asbergers, ADHD, ADD, PDA etc. "difficult engineers" is not something that exits in this world. There are difficult people, sometimes highly ordered jobs (like programming) attract people who like order -> many of which are on "the spectrum".
Be human, Be Kind and understand how to communicate effectively with several types of people.
But I do agree: communication is key. Craftpeople can have trouble taking the team or the business priorities into account. Being the manager, you have to take the other parties' side and talk about the non-technical problems: time to implement (= money and unavailability of the engineer), additional complexity, fragility, making changes more difficult... Convincing is always better but if you argued to no avail, you have to impose your decision – being careful not to be the asshat in the mix.
Perhaps like me they reject the people referred to are "difficult people" but believe the behaviors listed refer to people on the spectrum or otherwise neurodivergent.
The true fallacy is to think there is anything "normal" at all! -> rather we have "permissable / accepted" behaviour and "impermissible / unaccepted" and a very very large grayzone in between.
And educating yourself on the edges of that bell curve gives you the tools and acceptance needed to better deal with most of the stuff happening on that curve.
That's not necessary to achieve the desired goal, but more empathy and better communication is.
All comments shown.
Couldn't load more comments. Check your connection and try again.