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
4
u/Narrow-Durian4837 Nov 23 '25
You're sort of right. Storage is binary, but it is/was organized into bytes of 8 bits (binary digits) each. Each such byte could store a number from 0 - 255, which might represent something like a machine language instruction or an ASCII character. For a human who was coding those machine language instructions or ASCII characters, it was a lot easier to remember and work with the two-digit hexadecimal numbers than their 8-digit binary equivalents. Back in the day, I dabbled in machine language, and so I did indeed give the computer instructions in hexadecimal, at least in a sense.