Code Organization

Foundations · Prereqs: JS Essentials

Topics Covered

  • separation of concerns / why split files
  • export / import (ES modules) + script type=module
  • comments and TODOs
  • DRY, named constants, keep it simple
  • testing with AI

Taught In

  • Thursday, 11/19 — Final project ideas; from a page to a full-stack app; ideas tested in pairs
  • Thursday, 12/03 — Final demos, part 1; how an AI agent works