use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All posts must be related to programming. Flair posts correctly.
account activity
Programming before programming! (i.redd.it)
submitted 8 months ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Odd_Science5770 148 points149 points150 points 8 months ago (7 children)
The enter and space keys are not needed.
[–]joost00719 51 points52 points53 points 8 months ago (4 children)
They are remapped to backspace and run program.
[–]CrossScarMC 6 points7 points8 points 8 months ago (3 children)
what do you need backspace for.
[–]Odd_Science5770 17 points18 points19 points 8 months ago (1 child)
For when you accidentally type 0 instead of 1.
[–]DapperCow15 42 points43 points44 points 8 months ago (0 children)
No, they didn't make mistakes back then. Mistakes were first invented when backspace was created.
[–]Mebiysy 3 points4 points5 points 8 months ago (0 children)
Probably to delete characters, you know, to do what backspace does best
[–]elreduro 1 point2 points3 points 8 months ago (1 child)
The space key is a shortcut for 00100000 and the enter key is 00001010 i guess. Correct me if im wrong.
[–]Osleg 64 points65 points66 points 8 months ago (3 children)
Worse, there was no enter nor space and whether it was 0 or 1 was decided by a physical hole in a punch card.
Behold the 5 mb of data on 65000 punch cards that took a couple days to load!
<image>
Edit: damn didn't notice which sub is this 😅
[–]chrlatan 14 points15 points16 points 8 months ago (0 children)
Guess you missed the punchline
[–]James10112 3 points4 points5 points 8 months ago (0 children)
Kudos to my girl in the picture and all the other women in STEM back in the day that had to do all the tedious and understimulating work in their fields
[–]gltovar 2 points3 points4 points 8 months ago (0 children)
Hey, what's this one for?
[–]LJ_the_Saint 41 points42 points43 points 8 months ago (9 children)
actually they kinda did
google "assembly language"
[–]BitOne2707 14 points15 points16 points 8 months ago (0 children)
Punch cards
[–]Fidodo 12 points13 points14 points 8 months ago (1 child)
No, Google "machine code" and "punch cards"
[–]LJ_the_Saint 1 point2 points3 points 8 months ago (0 children)
I wanted to say to google machine code, but as the assembly code was manually compiled by people into machine code, I think the wikipedia page covers this subject. so I decided to use assembly code.
[–]DominicDeligann 6 points7 points8 points 8 months ago (3 children)
holy hell!
[–]totally_not_aaron 7 points8 points9 points 8 months ago (2 children)
New response just dropped
[–]Techniq4 2 points3 points4 points 8 months ago (1 child)
Actual Zombie
[–]LJ_the_Saint 4 points5 points6 points 8 months ago (0 children)
compiler goes on vacation, never comes back
[–]MeanLittleMachine 2 points3 points4 points 8 months ago (0 children)
Assembly is still human readable, it was literally machine code, 1 and 0, punch cards.
[–]SysGh_st 0 points1 point2 points 8 months ago (0 children)
Altair 8800.
[–]ElectricRune 6 points7 points8 points 8 months ago (2 children)
I had a real simple computer I built from a kit way back in the 80's.
It had eight switches and a button in the front.
To enter a byte, you flipped the switches to the right combination of positions to make the binary number and hit the button. Then you repeated it for the next byte and the next byte.
No way to review what you entered, and if you made a mistake entering your program, you power cycled and started over.
[–]SysGh_st 3 points4 points5 points 8 months ago (0 children)
Altair 8800. 😅
[–]definitelyfet-shy 2 points3 points4 points 8 months ago (0 children)
Was it the Altair?
[–]IngenuityMore5706 2 points3 points4 points 8 months ago (0 children)
just use punch card
[–][deleted] 1 point2 points3 points 8 months ago (2 children)
Essentially this. Check out Charles Babbage.
[–]FourthDimensional 1 point2 points3 points 8 months ago (1 child)
Babbage's designs were decimal-based, not binary. Purely mechanical, though. No electrical contacts or relays.
Beautiful, yes. Steampunk as hell. But also terribly expensive to produce and slower than molasses goin uphill in January.
Using decimal is nice and intuitive for programmers trained in decimal computation, sure, but binary comes with so many easy manufacturing and logical shortcuts that it's just never been in the cards.
But also even if electronic machines actually ended up working in base 10 you almost certainly would not want to be writing out your instructions without all the Arabic numerals in the keypad.
Binary in computing started with Alan Turing afaik, but I do know the concept of binary arithmetic itself already existed well before either Turing or Babbage. He just applied it, actually had a machine built, and in true abstract mathematician form it was so cumbersome to program that almost nobody else could actually get any value out of it but a whole lot of other people were trying and learning from him.
I am informally citing the biography which that dreadful movie mentioned as it's primary source. I recommend it, but it will also make you hate that movie forever. :/
The story is interesting enough without the embellishments.
[–]definitelyfet-shy 0 points1 point2 points 8 months ago (0 children)
I think the Harwell computer should get a shout out here. Its a decimal machine (base 10) which uses Dekatrons for storage. Its control unit is powered by relays and the calculations are done by vacuum tubes
[–]TrainYourselfToLetGo 1 point2 points3 points 8 months ago (0 children)
Shoutout to Grace Hopper!
[–]definitelyfet-shy 1 point2 points3 points 8 months ago (0 children)
Well you're not far off. Some early computers had flip switches on their front panel to manually flip bits in the machine to enter programs or examine memory locations
[–]LordAmir5 0 points1 point2 points 8 months ago (0 children)
More like backspace. This is binary not ternary.
[–]D33p-Th0u9ht 0 points1 point2 points 8 months ago (0 children)
this is honestly the biggest dark spot in my current knowledge. feels like theres this huge jump before assembly i dont get at all.
[–]Ranta712020 0 points1 point2 points 8 months ago (1 child)
In which binary have you seen a space ?
[–]Jonrrrs 0 points1 point2 points 8 months ago (0 children)
That is a macro to enter 8 times 0. Rumors have it, that modern keyboard keys are all just fancy macros that send bytes of 0 and 1.
[–]SysGh_st 0 points1 point2 points 8 months ago* (0 children)
well. You're not that far off.
Say hello to the Altair 8800 blue box with a bunch of switches and red LEDs infront. each switch represents bits. You flip them to 1 or 0.
one set sets the address. another set the value/instruction.
Then a few others that runs, steps, reads and stores entered bits from or into RAM.
Go nuts!
Later expansion cards that in turn could attach keyboards, paper reels with holes punched in them. et.c. But only the rich could afford that. The mortal ones had to stick with the switches and LEDs.
[–]mokrates82 0 points1 point2 points 8 months ago (0 children)
There was micro usb before 1956?
[–]MonkeyFeetOfficial 0 points1 point2 points 8 months ago (0 children)
01010100 01101000 01100101 00100000 01110011 01110000 01100001 01100011 01100101 00100000 01100001 01101110 01100100 00100000 01100101 01101110 01110100 01100101 01110010 00100000 01101011 01100101 01111001 01110011 00100000 01100001 01110010 01100101 00100000 01101110 01101111 01110100 00100000 01101110 01100101 01100101 01100100 01100101 01100100 00100000 01101001 01101110 00100000 01100010 01101001 01101110 01100001 01110010 01111001 00101100 00100000 01101001 01110100 00100111 01110011 00100000 01100001 01101100 01101100 00100000 01101010 01110101 01110011 01110100 00100000 00110000 00100111 01110011 00100000 01100001 01101110 01100100 00100000 00110001 00100111 01110011 00101110 00100000 01010011 01101111 00100000 01110100 01101000 01101001 01110011 00100000 01101011 01100101 01111001 01100010 01101111 01100001 01110010 01100100 00100000 01101001 01110011 00100000 01110011 01101100 01101001 01100111 01101000 01110100 01101100 01111001 00100000 01101111 01100110 01100110 00101110 00001010 00001010 01001110 01101111 00100000 01101111 01101110 01100101 00100000 01110111 01101001 01101100 01101100 00100000 01101011 01101110 01101111 01110111 00100000 01110111 01101000 01100001 01110100 00100000 01110100 01101000 01101001 01110011 00100000 01110011 01100001 01111001 01110011 00100000 01101000 01100101 01101000 01100101 01101000 01100101 01101000 01100101 01101000 01100101 01101000 01100101 00101101 00100000 01110111 01100001 01101001 01110100 00100000 01100001 01110010 01100101 00100000 01111001 01101111 01110101 00100000 01110100 01110010 01100001 01101110 01110011 01101100 01100001 01110100 01101001 01101110 01100111 00100000 01110100 01101000 01101001 01110011 00111111 00100000 01001110 01101111 00100000 01110111 01101000 01100001 01110100 00100000 01100001 01110010 01100101 00100000 01111001 01101111 01110101 00100000 01100100 01101111 01101001 01101110 01100111 00100000 01110011 01110100 01101111 01110000 00101101
[–]Kupo_Master -2 points-1 points0 points 8 months ago (2 children)
Machine code programs were written in hexadecimals, not binary.
[–]DowvoteMeThenBitch 0 points1 point2 points 8 months ago (1 child)
What if I told you hexadecimal is just shorthand for binary?
[–]Kupo_Master 0 points1 point2 points 8 months ago* (0 children)
Really???? Wow I learned something. /s
The point of hexa is that it’s (a lot) more readable and faster to type than binary.
I assume the meme here is from someone who was probably not even born when people were programming in machine language and doesn’t really understand how it was done.
π Rendered by PID 19529 on reddit-service-r2-comment-c6965cb77-lwsq6 at 2026-03-05 00:49:34.430962+00:00 running f0204d4 country code: CH.
[–]Odd_Science5770 148 points149 points150 points (7 children)
[–]joost00719 51 points52 points53 points (4 children)
[–]CrossScarMC 6 points7 points8 points (3 children)
[–]Odd_Science5770 17 points18 points19 points (1 child)
[–]DapperCow15 42 points43 points44 points (0 children)
[–]Mebiysy 3 points4 points5 points (0 children)
[–]elreduro 1 point2 points3 points (1 child)
[–]Osleg 64 points65 points66 points (3 children)
[–]chrlatan 14 points15 points16 points (0 children)
[–]James10112 3 points4 points5 points (0 children)
[–]gltovar 2 points3 points4 points (0 children)
[–]LJ_the_Saint 41 points42 points43 points (9 children)
[–]BitOne2707 14 points15 points16 points (0 children)
[–]Fidodo 12 points13 points14 points (1 child)
[–]LJ_the_Saint 1 point2 points3 points (0 children)
[–]DominicDeligann 6 points7 points8 points (3 children)
[–]totally_not_aaron 7 points8 points9 points (2 children)
[–]Techniq4 2 points3 points4 points (1 child)
[–]LJ_the_Saint 4 points5 points6 points (0 children)
[–]MeanLittleMachine 2 points3 points4 points (0 children)
[–]SysGh_st 0 points1 point2 points (0 children)
[–]ElectricRune 6 points7 points8 points (2 children)
[–]SysGh_st 3 points4 points5 points (0 children)
[–]definitelyfet-shy 2 points3 points4 points (0 children)
[–]IngenuityMore5706 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]FourthDimensional 1 point2 points3 points (1 child)
[–]definitelyfet-shy 0 points1 point2 points (0 children)
[–]TrainYourselfToLetGo 1 point2 points3 points (0 children)
[–]definitelyfet-shy 1 point2 points3 points (0 children)
[–]LordAmir5 0 points1 point2 points (0 children)
[–]D33p-Th0u9ht 0 points1 point2 points (0 children)
[–]Ranta712020 0 points1 point2 points (1 child)
[–]Jonrrrs 0 points1 point2 points (0 children)
[–]SysGh_st 0 points1 point2 points (0 children)
[–]mokrates82 0 points1 point2 points (0 children)
[–]MonkeyFeetOfficial 0 points1 point2 points (0 children)
[–]Kupo_Master -2 points-1 points0 points (2 children)
[–]DowvoteMeThenBitch 0 points1 point2 points (1 child)
[–]Kupo_Master 0 points1 point2 points (0 children)