Lurker News
There are a couple of engineers on my current team that I can only describe as being a little too smart for their own good, and I'm struggling a bit with how to work with them. I've worked with this sort of engineer on previous teams as well, and they all share a few traits:

- 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 comments
thewarrior1 reply#
A lot of comments in this thread are assuming that the “smart” engineers aren’t self aware enough to realize what they are doing.

Let me suggest more provocatively that what we often are witnessing is power dynamics. And these people being smart know how to let this play out using code. This is probably less applicable to OPs case than let’s say a large engineering organization in a large corp.
My pragmatic suggestion in such cases is to push back where it would affect your work or growth directly and let go of the rest. Smart people are scary good at lawyering their way out of situations or tying you down in endless litigation.
There’s no “solution” to this. Power dynamics are a part of life and code isn’t immune.

jwmoz#
I don't think it's a power thing. To me it sounds like highly introverted, obsessive, pedantic coders. I've experienced plenty of people like this in the past.
rocqua#
It feels to me like these people are bored. They want intellectual/academic challenge and jump at any opportunity for that challenge.

Next to the other main suggestions, perhaps these people need some sort of outlet where they can scratch this itch.

kutenai#
You make some very subjective statements here

> ... overly complex ...
To you, it might be overly complex. Who is to say that your assessment of "overly" is accurate? You provide a specific example that seems to prove your point, at least in on particular case.
Be careful of this, as you may be the problem here.
> Their code has no consistent style
Uh, there are tools to resolve this, so, quit the complaint. Use a lint/style app, tie it to commits, or better to the IDE, and insure everyone uses the same formatter. Get consensus from the team, don't just leave it to each individual. Who is in charger here anyway?? This is a solved problem..
> They have a big appetite for adding complexity to systems
Another "subjective" assessment. Each item should be judged by it's own merits, and your "assessment that it is complex is not the final answer.
Setup a code review system, and for any 'large scale' changes, have a code review with co-workers, peers, anyone relevant. You can even discuss a proposed code change before starting the work, or, part-way through an implementation. Challenge the team to look at the proposed change and, perhaps find alternatives (if they exist), and, in that way, get some team consensus before spending the time to build a "complex" feature.
Don't judge a feature by it's complexity "per se". Some things are complex, and for one person, a "level of complexity of say "8" on a universal scale (that does not really exist), might be a 10 for them, and a 6 for someone else.. complexity is not the same to everyone, so, don't take the "least clever" person in the room as the 'standard' for what is too-complex, that will limit your system. For "complex" systems, require a bit of extra documentation. A complex system, well described and documented, can become simpler for that "less clever" person.
A bit of management here can resolve all of the issues you describe. Don't get all judgmental, use the team, and apply some leadership.
Good luck

jansommer#
One of the things I like about hierarchies is that such disputes should be handled by someone higher up with coding expertise. Someone or a team who can weigh in things like long term maintenance and cost. Perhaps there are similar issues elsewhere that the proposed solution, or an alternative, could solve. There's a need for someone higher up the chain, if developers can just add disputed complexity.

I see architects as the people to go to under such circumstances. They were not always interested in small things like whitespace, but I think they should take it seriously if it's brought up.

Load more comments