Re:Ask HN: Where do I find good code to read?
by weatherlight on Thursday August 24, 2023 @12:05PM
(#37250528)
These are the same thing.
Good code should always solve the solution, to be considered good code. Bad code might solve the solution, it might not.
If that’s what you need to do to solve the problem, do that. The point is to stop focusing on the code as the work product, and instead focus on the solution as the work product, of which code is one part.