Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 2.14 KB

File metadata and controls

35 lines (25 loc) · 2.14 KB

Session Plan

Session Materials

  • Demo – In-session live coding: plain-object motivation, Comment class, methods, flagged comments, then Errors / Web Components as “real world” context. index.js = worksheet; index-solution.js = reference. README.

Session Outline

Start VERY simple. Just a class that has few fields, no methods. Explain the diff from object to class. Explain instance etc. When they get that move on to class methods. Only teach extends if they really are on top of things otherwise just get them comfortable with classes :) if you can repeat a bit of promise, maybe when working with class that would be great.

Exercises

See the separate Exercises document.

Code inspiration

See the separate Code inspiration document.