Hacker News new | ask | show | jobs
by vidarh 3781 days ago
I had a similar experience - I learned symbolic differentiation largely because I happened to pick up a book on Prolog about the time we started covering it at school, and the book gave symbolic differentiation as an example. Not having a Prolog interpreter, I rewrote the thing in Pascal, and then wrote an expression parser for it. Debugging my Pascal translation really hammered home the rules for me at the time (and subsequently writing an expression parser for it was what got me interested in compilers).