by jorblumesea · 7y ago · 0 comments
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.
I've definitely seen that. I agree that documentation can help with this, but you can't document everything (unless you're working for NASA. I have a friend who works for an aerospace company and they do a lot of documentation).
This also has an effect on your compensation. If you've been at a company for years and have deep knowledge of the domain and the software, you're more valuable than you might be on the open market. It's interesting to me that (typically) the company doesn't recognize this and compensate you appropriately.
If you document you will usually see the problem happening.
eg: This report generator runs every 15secs for every customer. Currently at 500 customers we probably want to shard at 750 customers.
I bet the seniors at most companies harp about documentation because of the exact reason that they dont want to be the institional memory. They rather think about fun things rather than store all the ugly rush bs code.
Or I bet they have their own personal docs because they want to keep that job security to themselves. The most challenging thing in software is dealing with the fact that there are humans involved.
Doesn't that create perverse incentives to not create documentation?
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.)
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.