Have you ever wondered what did the first ever computer program do?
The first ever piece of code was written in 1842, well before the first actual machine that could be called a computer (you wouldn’t call it a computer if you saw it).
Author of that program was
She got this close to greatness tsk tsk
This is apocryphal anyway. There is a bug in Lovelace’s algorithm.
https://twobithistory.org/2018/08/18/ada-lovelace-note-g.html
The article is fascinating, but if you just want to jump to the end…
bug
one line of the algorithm has the variables swapped! It calculates v5 / v4 instead of v4 / v5. Not bad considering there wasn’t a computer to run her code on yet, much less a debugger.
yassss
go Ada!!