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

Show all comments

Showing thread 11 of 222

Scubabear684 replies#
Different developers have different values. It is clear in this case these “smart” devs have different values than you. It sounds like they are engineering towards a view of “elegance” of the solution, what is the most compact and DRY way to accomplish a result. You appear to value simplicity over elegance, which makes sense in the brief context you’ve provided.

Convincing them to switch values may take a long time (or never), but in my experience you need to repeatedly stress the values you want the system built on, and give concrete examples of why whenever possible. Give practical reasons why simplicity is better (system stability, debugging, maintenance, etc).
But recognize that for some “smart” people this will be “boring”, and they will never do well. It reminds me of a manager I had ages ago who preferred C++ to Java because his C++ solutions required huge amounts of brain power for anyone to understand, where as the Java solutions could be understood even by dullards like me.

chunk_waffle#
This is the comment I was looking for, it appears to me to be a difference of values and it will likely continue to cause tension( unless someone's values change.)
semitones#
When I first joined the company I'm currently working at, I was a bit too focused on elegance, "proper" tooling/structure, and "doing things the right way", etc. For example, I couldn't _believe_ that we used raw SQL in our endpoints instead of using some fancy state-of-the-art ORM. The company is a start-up, and my previous job was as a SWE at Google, so naturally a lot of design decisions felt shocking to me. I definitely spent a lot of energy thinking about how we needed to "change everything".

Over time, I learned more about the history of our company + the projects I work on, and why they have come to be this way, which has helped humble me a bit, and in turn make me more effective on the team. However, what has _really_ made a difference w.r.t making me more effective, is a recalibration of my incentives - rather than focusing on personally "creating impact" and "enacting change", I shifted my focus to "what does this company need to be successful, and to go public". This significantly changed my thought process when it came to prioritizing work, and has made me easier to work with.
Counterintuitively (to me), that shift has done more to make me a better engineer, than perhaps increasing my technical expertise would have.

alocasia-1#
> [...] the Java solutions could be understood even by dullards like me.

This is 100% the type of person that came to mind when I read the OP. I'm sure we're all sick of the term "gatekeeping" but when folks consider it a plus and not a minus when their code is intimidating to others, it's really appropriate.

atomicnature#
This seems like the correct diagnosis to me. "Deeply held beliefs" are at play, at all levels and activities of the organisation, from coding practices, to hiring and marketing. The almost unstated, invisible beliefs destroy collaboration, since it is natural for them to come in conflict.

In a way, if we go deeper into why a religion works, and enables collaboration among large number of people, it is because it homogenizes "deeply held beliefs" through various shared literature and practices.
By extension, if an engineering team must work together in more cohesive ways, "the engineering religion" must be more explicit and there must be higher levels of bonding, more explicitly stated "deeply held values". It is difficult, since it requires excavating deeply held beliefs from individuals, finding common ground, or "installing" at a deeper level beliefs beneficial to collaboration.