Comment by __alexander

Comment by __alexander 3 months ago

6 replies

Crafting Interpreters has been sitting on my shelf for two or so years. I would love to read the book but the use of Java shelved it. I don’t have the time to understand the concepts from the book while simultaneously learning Java.

vips7L 3 months ago

Bob uses basic programming constructs. If you know any language you can follow the book.

  • __alexander 3 months ago

    Yes, but half the code in the book is implemented in Java.

    • blenderob 3 months ago

      You can use Python or anything else you like to implement your code. The Java code he writes is simple, imperative code. But the OOP stuff might get in the way. If you've got programming experience, it isn't hard to read it and write your own in your preferred language.

    • FusspawnUK 3 months ago

      Its easy to follow along with, I did my implementation in c#, Likely even easier now you can just feed the java to chat gpt and have it translate to <insert favourite language here>.

    • markus_zhang 3 months ago

      Or you can simply jump to the second part in C. I don't think it's mandatory to read the first part for the second one. Plus the second part is more interesting as it implements a VM.