I am afraid this is going to be a very stupid question but nonetheless i am asking: - I have been programming for 6 months now and i always program on a text editor. I learned that an OS is also a program which is first loaded onto the computer. Also the text editors are also computer programs. But I don't understand how text editors and the OS were programmed in the first place? Where do you "type" programs when you don't have an operating system and text editor yet?