2 ms·
If two people code up a solution to a problem and only one person can understand one of the solutions but everyone who looks at the other can understand it easi
by thfuran 3y ago
If two people code up a solution to a problem and only one person can understand one of the solutions but everyone who looks at the other can understand it easily, who wrote the better solution?
- kazinator 3y agoThe better solution is the one with fewer bugs, fewer dependencies and less resource use. If the solutions are both correct and use the same approach, but one has managed to make it understandable, then that is better. Understandable beats obfuscated, all else being equal. The solution that the programmers don't understand reveals a weakness in their analytic skills, though. The author could well be smarter or know more techniques, or both.