4 ms·
I implement algorithms from descriptions. It's so important that other developers can explain code and be capable of implementing the same thing. There's usual
by samsquire 4y ago
I implement algorithms from descriptions. It's so important that other developers can explain code and be capable of implementing the same thing.
There's usually a critical insight that allows an algorithm to be understandable.
Wikipedia descriptions for btrees, multiversion concurrency control and tries are almost enough to implement them.
I don't like it when developers say the code is the documentation. I don't want to read your code to understand how you implemented the solution to the problem. I would rather read a plain explanation of what you're trying to do and what mental model you used to implement it.