Hacker News new | past | comments | ask | show | jobs | submit login
Is Your Program Perfect? Let Me Count The Ways. (mdemare.info)
30 points by mdemare on July 25, 2008 | hide | past | web | favorite | 14 comments



I'm not sure what the questions imply. Most code is not going to have a "yes" answer to all of these, and shouldn't.

If I'm writing a 100-line python script to process a text file, I'm not going to worry too much about making it run as quickly as possible, say.


And for most code where the speed actually matters, the code is sufficiently complicated that you'll never really know whether it's truly as fast as it could possibly be.


Voted up, even though I think it's evil. Worrying about all those things would probably mean to never get anything done at all.


I once took a personality test (I tried to game it, but I didn't). The results classified me as a heavy "maximizer". Just in case I didn't already understand what that meant, this post is a great reminder.

Just when you think it's good enough, it isn't.


This goes overboard. A program isn't perfect if it doesn't have "bindings" for "OCaml and Smalltalk"?


The point is that no program can be "perfect" in the most philosophical sense -- that of having no flaw. In the eyes of an OCaml programmer, lack of OCaml bindings certainly would be a flaw.

The point is that the last two questions are the ones that truly matter.


Some of them are specific to web apps, desktop apps, libraries, or system services.


Loved the last sentence: Is what it does worth doing?


A very few things in that list don't apply to what I am working on now. The rest will be printed out and posted prominently.


perfect program is a process which mere mortals just dream of.


There's only one way to be perfect.


elaborate, please?


There are many ways to be imperfect, because there are many ways to be disordered (higher entropy). There is only one way to be perfectly ordered.

My point is that, in practice, counting the ways of perfection is counting the ways of imperfection. This focus on all the things lacking is discouraging and distracting from whatever you are actually trying to do.

IMHO, it's more effective to focus on what you value, what is worthwhile, and keep improving towards that; that is, to go towards what you value, instead of away from imperfection. It's more fun and you're more likely to come up with something that will be valuable to others - instead of "perfect" within some impoverished universe.

I say "impoverished", because the only way to have perfection is to define it, and as soon as you define it, you exclude all those possibilities that were beyond your imagination until you stumbled upon them, often via a "mistake". i.e. Any defined universe is necessarily impoverished, compared to the big one.


Be me :)




Registration is open for Startup School 2019. Classes start July 22nd.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: