News for hackers. Stuff that matters.
Re:Ask HN: If your code no longer makes sense to you, do you... by kazinator on Sunday July 02, 2023 @12:08AM (#36558130)
The 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.

There are no comments on this comment yet.