r/computerscience • u/SilverBass1016 • Nov 22 '25
General How did coding get invented
My view of coding right now is that it's a language that computers understand. But how did the first computer makers invent the code and made it work without errors? It look so obscure and vague to me how you can understand all these different types of code like Java and Python etc.
Just wondering how programmers learn this and how it was invented because I'm very intrigued by it.
439
Upvotes
View all comments
Show parent comment
3
u/sqwz Nov 23 '25 edited Nov 24 '25
Until the 1970s a lot of it was octal. Groups of 3 bits, not 4, per digit. No letters needed, only numerals 0-7 and word lengths weren't always a multiple of 8, so octal kind of made sense. The DEC PDP-8 was a 12 bit machine (4 octal digits), and though its successor the PDP-11 was 16 bit, programmers went on using octal for a long time on that too.
I remember starting a PDP-8 from cold by keying in a boot loader on the 12 front panel switches. Only about a dozen instructions, each written as 4 x 3 digit octal numbers, it loaded a program from punched paper tape, and from that point onwards you had control via a teletype and could load and run other sofware more easily.