Functions Should Do One Thing
This generated surface maps a learner-facing curriculum unit to its canonical source routes.
Curriculum surface
- Open learner-facing unit
- Curriculum path:
content/curriculum/foundations/semester-00-orientation/module-03-clean-code/concepts/cluster-02-function-design/05-functions-should-do-one-thing-primary.md - App:
foundations - Semester:
semester-00-orientation - Module:
module-03-clean-code - Unit kind:
concept - Curation level:
generated_default
Learning objectives
- Explain Functions Should Do One Thing in the language of the current curriculum, not just the source book.
- Apply Functions Should Do One Thing to one concrete learner task or example inside this semester.
- Use
clean-codeas a selective source of truth when the learner-facing explanation is not enough.
Prerequisites
- The earlier concept pages and practice tasks in the current module.
Source books
clean-code
Source routes
Clean Code
- /books/clean-code/chapter-03-functions-small-to-blocks-and-indenting via
Chapter 3: Do One Thing to The Stepdown Rule,Chapter 3: Small! to Blocks and Indenting
Supporting curriculum routes
No supporting curriculum routes linked yet.
External enrichment
No curated enrichment resources yet.
AI companion modes
- Explain simply
- Socratic tutor
- Quiz me
- Challenge my understanding
- Diagnose my confusion
- Generate extra practice
- Revision mode
- Connect forward / backward
Source-of-truth note
This teaching unit is learner-facing guidance. Its canonical source backbone is the referenced book clean-code, and outside material should only clarify or strengthen that backbone.