4 ms·
https://interpreterbook.com https://interpreterbook.com is a pretty good resource to hit the ground running, with unit tests and little magic. Once you've gone
by reificator 9y ago
https://interpreterbook.com https://interpreterbook.com is a pretty good resource to hit the ground running, with unit tests and little magic.
Once you've gone through it, you'll probably want to use the magic tools as they're well tested at this point, and make your life easier. Still, understanding what they're doing for you is a massive boon.
I should note, it uses Go but not in an idiomatic way. Strings instead of using an error type, etc. This is theoretically for the purpose of making it easier to follow along in another language, but I still wasn't a fan of that aspect.
- y_u_no_rust 9y agoI worked though a bit of this book over the long weekend, I'd recommend this as well
- misternugget 9y agoAuthor of the book here. Thanks for the shout out! I'm happy to hear that you appreciate the book exactly in the way it was intended to - little magic, lots of code and unit tests. I'm also super curious about your "not in an idiomatic way" comment. If you have a minute, feel free to send me a longer version - me at thorstenball.com. I'd really love to hear what you'd do differently and what could be more idiomatic.
- reificator 9y agoSent an email from my username at gmail. > I'm happy to hear that you appreciate the book exactly in the way it was intended to - little magic, lots of code and unit tests. Yeah, that's exactly what I wanted out of it, and my coworker recommended it at the best possible time on top of that.