Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is significance coverage of OOP features, hence my Java-like comment. I would have personally left OOP out for a beginner book, it isn't really fundamental. Another advantage to using Java in the first half, could be to use Java closures to implement Lox closures.


> I would have personally left OOP out for a beginner book, it isn't really fundamental.

This was a deliberate choice. Most intro compiler/interpreter books don't do OOP. But most languages in wide use today are object oriented. That felt like a significant gap to me. One of the main goals with my book is to give people insight on how the languages they actually use work under the hood. Skipping objects and method dispatch would limit that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: