9 ms·
What senior engineers do: fix knowledge holes
- kd5bjo 7y agoOverall, the sentiment is right, but this line seems off: >Note, he was a software engineer, not QA or a network engineer. But he didn’t let the role definition stop him. QA is about determining when things are broken, which they weren’t (yet). Network engineering is about making sure all of the packets get to to where they’re supposed to go, and not what’s inside them. This is about a private protocol between two pieces of software that are both exclusively developed by the same company, and probably the same team; its details fall quite squarely in the purview of software engineering, or at least they would at every company I’ve ever worked for.
- mooreds 7y agoI wrote this piece. Thanks for the feedback. The point is that he was was a software developer who was responsible for the back end systems. I don't think he was directly responsible for the client/server protocol and the client was, I believe, outside his purview. I was trying to think of a couple of different roles that might have had incentive to take care of this. (QA because of a desire to ensure the software was working correctly, network engineering because they might have helped design the protocol.) But he saw a knowledge hole and he acted to remedy it. But I take your point that the line is a bit off. I'll edit.
- jvandonsel 7y agoThat’s an excellent, terse description of what I’ve found my role as a senior engineer to be. It’s not in the official job description but it’s what I end up doing day to day.
- mooreds 7y agoThanks! I think this is why job descriptions for senior engineers are often hard to write. You often want a general purpose problem solver, but all you have is examples of types of problems that have been solved in the past, and so you put that in the job description (the general you, not you specifically, of course). Reminds me a bit of "Profession" by Asimov: https://www.abelard.org/asimov.php https://www.abelard.org/asimov.php
- Noumenon72 7y agoSeems to me that being curious about things and documenting how they work is a very junior-accessible thing to do. But a junior probably wouldn't have identified this as needing to be done.
- notus 7y agoJuniors also generally do not understand how a piece fits in a larger system nor are they are expected to.
- drdeadringer 7y agoI have always had a "problem" of needing to understand how something fits into a larger system and "not being allowed to" ... because "Junior" or "new guy". Yes, I do need to know "why" this is or "why" that is. "Just because" has never sat well with me, ever. This could be my own "problem" but really: when I ask "why", give a real answer -- I'll even take a Cliff Notes answer, but just give a real answer. "Don't worry about it" doesn't do me any favors.
- mooreds 7y agoI saw a post from someone on a slack (that I reposted here: https://letterstoanewdeveloper.com/2019/06/21/balance-questions-with-banging-your-head/ https://letterstoanewdeveloper.com/2019/06/21/balance-questi... ). He suggested waiting for 3-6 months before you press on the "just because".
- notus 7y agoIt's hard to give good advice because I don't know what the culture is like where you work. Sometimes this behavior is because they are feeling you out for a few months and making sure you stick around before investing a lot in you. Other times it could be because the more senior devs like being in control and making decisions. You have to learn to work around these behaviors because directly confronting them won't always go so well. The reality of the situation is they are just making their own lives more difficult by not enabling more developers to help out but that's how people are. Do you do 1 on 1's with your manager? That is the best place IMO to express what you want to do and if you're feeling left our from knowledge or conversations. A good manager will help you out and make the senior devs be more inclusive it makes sense. If they are not helping then go to the director. If the director doesn't help then you should reassess your future in the company. Note that I'm not saying quit, because sometimes, especially when just starting out, you have to work a less than ideal job to build up some experience. As long as you're still learning and growing you can benefit from it, but the second you feel like you're stagnating and you're sure it's not you it's them, then leave. Next time you will have something to discuss at the interview too about what kind of place you want to work at.
- EliRivers 7y agoI work on some software of which the oldest parts of the source code date back to about 2009. Over the years, some very smart (some of them dangerously smart and woefully inexperienced, and clearly - not at all their fault - not properly mentored or supervised) people worked on it and left. What we have now is frequently a mystery. Simple changes are difficult, difficult changes verge on the impossible. Every new feature requires reverse-engineering of the existing code. Sometimes literally 95% of the time is spent reverse-engineering the existing code (no exaggeration - we measured it); changes can take literally 20 times as long as they should while we work out what the existing code does (and also, often not quite the same, what it's meant to do, which is sometimes simply impossible to ever know). Pieces are gradually being documented as we work out what they do, but layers of cruft from years gone by from people with deadlines to meet and no chance of understanding the existing code sit like landmines and sometimes like unbreakable bonds that can never be undone. In our estimates, every time we have to rely on existing functionality that should be rock solid reliable and completely understood yet that we have not yet had to fully reverse-engineer, we mark it "high risk, add a month". The time I found that someone had rewritten several pieces of the Qt libraries (without documenting what, or why) was devastating; it took away one of the cornerstones I'd been relying on, the one marked "at least I know I can trust the Qt libraries". It doesn't matter how smart we are, how skilled a coder we are, how genius our algorithms are; if we write something that can't be understood by the next person to read it, and isn't properly documented somewhere in some way that our fifth replacement can find easily five years later - if we write something of which even the purpose, let alone the implementation, will take someone weeks to reverse engineer - we're writing legacy code on day one and, while we may be skilled programmers, we're truly Godawful software engineers.
- tracer4201 7y agoEngineers are often ready to scrap things and start over, but sometimes it’s worth having a couple senior/principal/staff level folks do a quick evaluation and figure out if you’re needlessly duct taping an unmanageable piece of service/application/whatever abstraction and actually scrapping it might be the better option. From my own experience, you don’t actually know how the existing system works, the expected business rules were never documented, etc, and so even starting over isn’t really a less ambiguous path.
- tracer4201 7y agoI agree fixing knowledge holes is something I expect a senior engineer to own. Overall, I think what stands apart senior from junior engineers isn’t just the skill or the act of fixing the knowledge hole but - 1) having the right judgement 2) being a force multiplier Good judgement is important. For example, a knowledge hole could exist, but is it the right thing to be working on now given other knowledge holes or other problems? Is it something another person on the team could pick up while the senior engineer focuses more on another, more ambiguous problem? Being a force multiplier I think is critical. Yes your experience and expertise matters, but how well can you scale yourself? This can actually be very difficult and even demoralizing. When I first reached a senior level, one of the teams I was the lead on at the time had an issue where other engineers literally were not motivated. They don’t want to move on because it’s an easy environment but they don’t put in even 50%, and management was focused more on managing upwards than managing downwards. Heh some interesting lessons learned there.
- mooreds 7y ago> Being a force multiplier I think is critical. Totally agree. At some point you spend less time doing the work and more time unblocking other people, doing spikes and research, and coordinating across the organization. For someone who like to be in "flow", all of these can be frustrating.
- perl4ever 7y agoI got to a point where "actually working" seemed worthless because everything that determined the ultimate value of my work was a management/communication issue. My boss would tell me not to worry about that stuff, but it was demoralizing because I couldn't stand any longer to think about spending year after year doing technical stuff that had no positive, cumulative effect on the real world. I don't want to be a "boss" or have more power or prestige, but I've gotten to the point where the only problems I am really interested in are management problems because everything else is a waste of time if those aren't solved.
- mooreds 7y ago
- proj-14 7y agoThe link is broken, I’m seeing a 500 error.
- mooreds 7y agoSorry, hug of death on shared hosting. Just enabled caching, please try again (I couldn't find a cached version on google, doh!)
- jorblumesea 7y agoI've often thought that the need (and compensation) for senior engineers is partly based around their historical knowledge of systems and business logic. If you lose a senior, not only do you lose a highly skilled individual, you also lose institutional memory. Documentation can help some of this, but is often not enough or does not capture reasoning behind technical implementations. Senior engineers are often living repositories for business logic and company knowledge.
- pm90 7y ago> Documentation can help some of this, but is often not enough or does not capture reasoning behind technical implementations. Doesn't that create perverse incentives to not create documentation?
- spockz 7y agoThis is a read vs write optimisation trade-off. If a senior engineer would need to write down all it knows and all things that were considered for a specific implementation or project he would have to spent a lot of time writing. Especially if the writing needs to be clear for some junior just joining the company. If instead, only the high over view is written down the person can be relied upon the fill in the nitty gritty details without having to spent years writing. (It can also be of course that we just lack a sufficiently efficient fork of dumping our mental context for others to digest.)
- yoz-y 7y agoI think there is also a problem with too much documentation. If you want do document too much, the docs will get too tedious to read and crucial information can be missed.
- perl4ever 7y agoI started working in a kind of non-technical department, and someone had developed a procedure for making some database updates which used to be done manually through a web page, and the procedure for this "automated" method went through like 50 pages. After doing it two or three times I'd memorized it. But if I was documenting it, I would be like "here's 5 bullet points" and they would be prompts to fill in the details. It depends on the audience, but the way I prefer to write documentation is I think of how I discovered all the stuff that was not obvious and try to provide starting points to each area of knowledge. In some environments, people will write so much documentation that you can't see the structure, and when you see repetitive sections, you can't tell what the difference is without actually diffing it. There is an enormous amount of formulaic documentation that is 90% boilerplate and almost completely fails to focus on what people need to know. So many tools have been developed to easily produce stuff that looks like documentation but doesn't have any content and then using them is compulsory, but substance is not. I've been unimpressed with the Microsoft online documentation I've had to look up recently.
- flatfilefan 7y agoYou can call it anti-dailyWTF.
- trilila 7y agoUp until the tech lead comes along and calls it anti daily wtf for the seniors. Then the cto on top of the lead. Then ceo on top of the cto. And the rate race saga that never ends and loads of software workers sharing rooms in overpriced areas, and doing voluntary work to put on their cvs calling it open source, and mindlessly believing what every single company will tell them: we hire the best in the world. Rinse and repeat each generation.
- flatfilefan 7y agoWhat you wrote is almost a half of the "meander WTF-manifesto"!
- codr7 7y agoI once had a boss who asked me to spend my last two weeks writing down everything I knew after working there for 13 years and basically creating the entire 2Mloc system they were happily selling from scratch. That's when I finally realized how much of a clue he really had. And the reason I quit is that he gradually started chasing me around and micromanage my time even though I had been left alone to do my thing since forever, and pretty damn good too. But you can't measure the effect, and suits tend to measure what they can. The effect of leaving was easier to measure, the company folded about a year later.
- sangnoir 7y ago> The effect of leaving was easier to measure, the company folded about a year later. Was it because you have a skill so rare that you are irreplaceable, or was the system not documented well enough that someone with the same skill-level as you (or higher) wouldn't be able to maintain it from a clean slate?
- codr7 7y agoI was the most experienced developer and original author, that's a lot of knowledge. There was no one left who was motivated enough and it would have taken much longer than two weeks. I left plenty of documentation behind, but there are so many edge cases where having access to a brain that was involved in the process is invaluable.
- kkarakk 7y agoI can definitely see this issue, Some people just tend to end up "shaping" the software shipped for better or worse. If the org didn't emphasize documentation/knowledge sharing with someoene equally knowledge it would turn out to be pretty horrible
- mooreds 7y agoSounds like there was a good business case for a consulting arrangement after you left.
- 7y ago
- Niksko 7y agoI think the other key part of a senior engineers role is to ensure that product doesn't trump quality. When you have no senior engineers, what often happens is without an advocate for doing things right, product 'wins', and teams turn into feature factories with little time for quality. Yes, quality is everyone's responsibility. But without an advocate with the right title and respect, it becomes secondary or even tertiary (behind velocity and features)
- mooreds 7y agoI agree entirely. > Yes, quality is everyone's responsibility. It isn't fair to expect someone to advocate for quality of something they can't see, and product can't see code quality. So, yes, someone in engineering needs to advocate for it. Here's a post I recently read about how the lack of code quality, among other things, nearly ran a good business into the ground: https://www.groovehq.com/blog/almost-walked-away https://www.groovehq.com/blog/almost-walked-away I have been in this situation myself (as have other commenters) and it's a balance between paying tech debt and moving product forward. Learning when to sit down and pay it, and how to communicate it, is an important part of being a software developer. Can't say I have mastered it.
- ehnto 7y agoI worked at an agency who's manifesto was built on quality over all. It permeated the culture and decision making. If we thought a particular way was the best approach but the client couldn't afford it, we would sometimes even split the cost as to avoid the cost of maintenance down the road. The clients were usually long term clients so this made sense. Eventually we grew to the point of needing some project managers and I learned so much about project management during that period. We had some that absolutely understood the ethos, advocated for the engineering team and communicated to the client why we do things the way we do. Then we had the PMs who saw the client as their paymaster, wanted to please them by making big promises, saw engineering as their personal work force, and were happy throwing engineering under the bus when it didn't work out. The worst work was done under the latter PMs and it always came back to bite us. Half baked features needing rewriting, third party modules hacked into the codebase, bugs and untested code needing weeks of client back and forth.
- xchaotic 7y agoThere is job title inflation and my company hires at Senior Eng as the lowest level.