#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::Crafting Interpreters::Ch 29 Superclasses
#columns:Front	Back	Tags
Crafting Interpreters ch 29, Superclasses: what does it cover?	Inheritance in clox with copy-down inheritance (copy superclass methods into the subclass at definition time), and super calls, including an optimized super invoke instruction.	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::29 cracked.guide::kind::about
Crafting Interpreters ch 29, Superclasses: why does it matter?	Copy-down is a neat trick that trades flexibility for speed, a classic VM design trade-off.	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::29 cracked.guide::kind::why
Crafting Interpreters ch 29, Superclasses: which part of the book is it in?	clox (bytecode VM, C)	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::29 cracked.guide::kind::part
Crafting Interpreters ch 29: what traps should you watch for?	<ul><li>A class inheriting from a non-class value must be a runtime error.</li></ul>	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::29 cracked.guide::kind::traps
Crafting Interpreters ch 29: which end-of-chapter challenges are worth your time?	Challenge 3 (BETA-style inner, again, now in C) is satisfying if you did it in jlox. Do challenges that change Lox's behavior on a separate git branch. The cracked.guide check runs the official test suite for this chapter, and a challenge that changes semantics (new syntax, different errors) can make tests fail on main.	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::29 cracked.guide::kind::challenges
Crafting Interpreters ch 29, Superclasses: how should you work through it?	Short chapter; run the full clox test suite at the end.	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::29 cracked.guide::kind::approach
