News for hackers. Stuff that matters.
Re:Translating math into code with examples in Java, Racket,... by discreteevent on Tuesday May 28, 2019 @01:46PM (#20032504)
Gerry Sussman had the same idea and wrote a paper on it:

https://www.researchgate.net/publication/37597511_The_Role_o...

Re:Translating math into code with examples in Java, Racket,... by abecedarius on Tuesday May 28, 2019 @04:52PM (#20034268)
His SICP coauthor Hal Abelson also cowrote Turtle Geometry, which explores stuff like topology and the basics of general relativity in Logo. An underappreciated old book I'd like to see more like.
Re:Translating math into code with examples in Java, Racket,... by madhadron on Wednesday May 29, 2019 @12:46AM (#20036926)
To be fair, when you actually look at Structure and Interpretation of Classical Mechanics (which is a great book), it's still math that a physicist recognizes, not so much an ALGOL-esque program. The Scheme system was extended to handle the math rather than the math brought to the language.

What they did was make all the math explicit, mostly by inserting all the necessary pieces of differential geometry that were glossed over in all other treatments.