Ask HN: How to write code that can be taken over by others?
This code will require expert knowledge (OpenType and TeX knowledge).
What are guidelines to write code so that other people have a chance to jump in? The current piece of code (which we want to replace) is mostly a black box to us and is too clever (for some definition of cleverness) and more or less undocumented (it has other problems as well, but they don't matter here). What is your advice here? Some things are obvious: documentation, unit tests, getting other people involved as soon as possible, writing with "openness" in mind etc. But my fear is that I end with complex code which has the same problem as the now existing code and I will be the only person maintaining it.
Can you give advice how to lower the barrier for other people? Anybody has practical experience?