If a program could program itself?.... (AI)

came accros this one (again)

Real stupidity beats artificial intelligence every time. Terry Pratchett