News for hackers. Stuff that matters.
Re:Crafting Interpreters: Superclasses by tus88 on Wednesday March 18, 2020 @09:04PM (#22623275)
> Adding a special VM instruction for such operations as inheriting from a class is a strikingly bad design decision

I am struggling how this can be seen as a runtime instruction anyway - surely inheritance is a compile time semantic?

Re:Crafting Interpreters: Superclasses by ghusbands on Thursday March 19, 2020 @11:04AM (#22628144)
For statically-typed languages, yes, but many dynamically-typed languages allow class definition and inheritance at run-time. Read the classes and instances chapter to see that this interpreter indeed does.