I don’t code anymore. Never really did it for a living other than hacking accounting software written in dBASE or FoxPro. (Ha! You get bonus points for even knowing what that is…and you probably were born prior to 1970.)
BUT…in 1977 myself and 2 other class mates in high school programmed our Texas Instrument TI59 programmable calculators to estimate the value of Pi by calculating the area of a circle by dividing a quadrant of the circle into rectangles of decreasing size. The first iteration divided the quadrant into 10 rectangles. The last time we ran it it did 1,000 rectangles. Took the poor calculator over 24 hours. Every time we wanted to run the program we had to re-enter the code…there was no way to save it. I don’t remember how close we got to the real value. But it was fun anyway.