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

I noticed that most posts were clueless about whats the purpose of a program that is able to program itself...and the answer is simple, it wants to evolve if such a program exists, then it will have learning capabilities and a simple conciousness just like we do...and that's where philosophy comes in...philosophy plays an important role in ai programming