# Crafting Interpreters, chapter 10

> Week 8 of the cracked.guide path: Ch 10: Functions; LeetCode: 2 NeetCode 150 problems.

Week 8 of 145 on cracked.guide, in Crafting Interpreters: Crafting Interpreters 10: Functions and 2 NeetCode 150 problems. The reading guides budget about 7 hours.

## Key facts {#key-facts}

- [Crafting Interpreters 10: Functions](https://cracked.guide/guide/ci-10): Functions: call expressions, arity checks, native functions like clock(), function declarations, return statements (implemented with an exception), and closures that capture their defining…
- Phase: Crafting Interpreters, weeks 1 to 28.
- Updated October 20, 2026.

## By the end of this week you can {#objectives}

- Implement function declarations and calls with an arity check.
- Explain why jlox implements return by throwing an exception.
- Use closures that capture the environment where a function was declared.

## This week's tasks {#tasks}

- [Crafting Interpreters chapter 10, Functions](https://cracked.guide/guide/ci-10): about 7 hours
- LeetCode: 2 NeetCode 150 problems

Previous: [Week 7](https://cracked.guide/curriculum/week/7) · Next: [Week 9](https://cracked.guide/curriculum/week/9)

---

Source: https://cracked.guide/curriculum/week/8
cracked.guide: A free, dated 145-week path to getting genuinely cracked at programming.
