News for hackers. Stuff that matters.
Re:Ask HN: Evolution writes very poor code. So why is biol... by markerdmann on Saturday May 30, 2009 @02:56PM (#633991)
If you're looking at all of the code that evolution has ever written, then yes, I suppose you could say that most of it is very poor. The fraction of code that survives and propagates, however, is awe-inspiringly beautiful.

If you're looking for some insight into what makes it so beautiful, The Selfish Gene is an excellent place to start.

Re:Ask HN: Evolution writes very poor code. So why is biol... by amichail on Saturday May 30, 2009 @02:59PM (#633993)
What evidence do you have that the code that survives and propagates is elegant (i.e., at the DNA sequence level)?

In genetic programming, the products of evolution on a computer are completely incomprehensible.

What makes natural evolution any different?

Re:Ask HN: Evolution writes very poor code. So why is biol... by markerdmann on Saturday May 30, 2009 @11:01PM (#634366)
If someone who is not a programmer looks at your code and pronounces it utterly incomprehensible, does that make it inelegant?

What exactly would "evidence" of something as subjective as "elegance" look like?

Re:Ask HN: Evolution writes very poor code. So why is biol... by amichail on Saturday May 30, 2009 @03:22PM (#634008)
BTW, code growth seems important in some cases for evolution on a computer: http://www2.cs.uidaho.edu/~tsoule/cs472fall05/AlifePeaks2.pd...