|
|
|
|
|
by WalterBright
2487 days ago
|
|
Yes, I've seen OOP etc. done in C. As you say, it's awful, and so people don't do it. People devise their algorithms and data structures in ways that work smoothly with the language's features. I'm sure you can compute sine and cosine tables using Roman numerals, too. But it would be so awfully ugly and tedious it's hardly a surprise that few would consider attempting it. |
|
Ptolemy’s table of chords was calculated in base 60 (inherited from Mesopotamians), by probably a Roman citizen living in Egypt and writing in Greek.
It was probably done on some kind of a counting board analogous to the ones used for decimal calculations. Hellenistic mathematicians didn’t do written arithmetic either.
And yes, making such tables is inherently “awfully ugly and tedious”, unless you have an electronic calculator to do it for you.