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
Bad link 👎
This article seems to be an incomplete pasting of an old article: What Did Ada Lovelace’s Program Actually Do? I was suspicious when it said “A contemporary interpretation of Ada’s punch card stack using JavaScript might resemble the following” but didn’t have any code.
The real tl;dr is it calculated terms of the Bernoulli series.