4 ms·
This is my favorite book! But I think it could be more straight forward if the first interpreter didn't use Java, but a modern main stream language that can av
by MarquesMa 4y ago
This is my favorite book!
But I think it could be more straight forward if the first interpreter didn't use Java, but a modern main stream language that can avoid code generation and Visitor Pattern. Those parts feels like unnecessary detour.
- munificent 4y ago> but a modern main stream language that can avoid code generation and Visitor Pattern. Yeah, a language with nice algebraic datatypes and pattern matching does eliminate the need for Visitor patterns. But the reality is that many programmers are working in object-oriented languages where the Visitor pattern is useful, so I deliberately picked Java in order to teach that approach. The book tries to meet you where you are and not where you might wish you were.