Hacker News new | ask | show | jobs
by orangeoxidation 1234 days ago
> I am always shocked when I learn the some code I wrote as throwaway-tp-be-done-right-later 10 years ago is still in use.

That's because your "quick throwaway" code solves a real problem. It is useful, it works, it is very likely easy to understand.

In short: It's good code.

(It might not be "elegant" or "clever" or even "neat". Those things are overrated.)

1 comments

I hadn't thought of it this way. Good perspective. I'll inject some cynicism, though:

> It is useful, it works, it is very likely easy to understand.

It probably mostly solves the intended problem, and might be so close to coming apart that nobody dares improve it.