#separator:tab
#html:true
#notetype:Basic
#tags column:3
#deck:cracked.guide::Crafting Interpreters::Ch 13 Inheritance
#columns:Front	Back	Tags
Crafting Interpreters ch 13, Inheritance: what does it cover?	Single inheritance: superclass declarations, method lookup through the chain, and super calls, finishing jlox.	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::13 cracked.guide::kind::about
Crafting Interpreters ch 13, Inheritance: why does it matter?	Method resolution order and super are how every OO language reuses code. Finishing jlox is a real milestone.	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::13 cracked.guide::kind::why
Crafting Interpreters ch 13, Inheritance: which part of the book is it in?	jlox (tree-walk interpreter, Java)	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::13 cracked.guide::kind::part
Crafting Interpreters ch 13: what traps should you watch for?	<ul><li>A class inheriting from itself: make sure it is an error.</li><li>super lookups must use the superclass of the class where the method was defined, not of the instance.</li></ul>	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::13 cracked.guide::kind::traps
Crafting Interpreters ch 13: which end-of-chapter challenges are worth your time?	Challenge 3 (implement a feature you listed back in chapter 3) is the most rewarding. Challenge 2 (BETA-style inner) comes back in chapter 29, so if you skip it now, expect to meet it again. 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::13 cracked.guide::kind::challenges
Crafting Interpreters ch 13, Inheritance: how should you work through it?	Implement, then run the full jlox test suite. Celebrate, then take a day before starting C.	cracked.guide cracked.guide::phase::interpreters cracked.guide::chapter::13 cracked.guide::kind::approach
