Thursday, December 13, 2007

Perfect Simulation

Computer Science, at its core, takes a model of a real-world situation and simulates it, perfectly. If two programmers utilize this concept to a perfect degree their code will look the same, raising an eerie question of "how do you judge who's a better programmer?"

Of course, always holding onto such an ideal is difficult, if not impossible in practice, because it entails not only solving a problem to get from point A to point B, but solving it in such a way that the underlying logic FITS in with how the world works.

This raises quite a few interesting questions.

1. What is a real-world situation? Do we interact with the world using windows user interfaces on a daily basis? Are games "real-world" situations? They could be an extension of fiction, but, how do you quantify the underlying code?

2. How do you quantify a programmer's skills, if both of them code in the same manner? Time spent?

3. Does this concept include the idea of getting it right, the first time?

4. Does this include variable names? XP :)

Of course, before a developer could even begin to do this, he would have to have a solid command of the language, and, of course, as humans we are not perfect, so do to this on a regular basis would be impossible.

However, I think it does say that there is always improvement in some aspects of code, which, when studied long enough, will allow for programs to run better if the necessary changes are made.

These are just my thoughts of course. We haven't explored the concept too much.

No comments: