Skip to content

Instantly share code, notes, and snippets.

@ashleygwilliams
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashleygwilliams/9892622 to your computer and use it in GitHub Desktop.
Save ashleygwilliams/9892622 to your computer and use it in GitHub Desktop.
notes on ben's javascript best practices class 3/31

#Day1

  • packaging stuff for students at the end of the class
  • global scope: make this first example an activity!
  • should we be mixing eventlisteners with global variable example
  • when you are talking about require.js show it
  • following the talk about libraries is hard to follow
  • make a browserify example
  • dont talk about it now, show it
  • pretty name can be an exercise
  • def need scoping exercises

CONCEPTS COVERED

  • global scope
  • browserify, require js
  • hoisting

IDEAS

  • ask more questions of the students

#Day 2

  • node is confusing to students
  • syntax of tests is confusing (maybe let's use jasmine instead??)
  • students said day 1 was a good "refresher" -- not advanced enough? not interactive enough?
  • students said they had to cheat on exercise
  • BDD is about just getting the tests to pass -- why would ben suggest otherwise?
  • maybe a math example is not good for inclusiveness!
  • dont say its better, show its better (re errors)
  • ask students questions!
  • student said "passed by reference" and other students have no idea what that means
  • more demo, less talking, show DEBUG TOOLS
  • show docs
  • spent a long time talking, then student asked what a major variable meant :/
  • why are we talking node and not brwoser js which most students want
  • saying you'll show it later is a bummer
  • halfway through morning student asks about npm install
  • haven't talked about arrays yet, but talked about objects first
  • exercise required using arrays but hadn't introduced them yet
  • student next to me had me help him with an exercise from 2-3 ago
  • student knew arrays but didn't know that you could just write [] to make a new array
  • when ben asks questions, the answer is up on the screen already
  • using words primitive-- not all students understand
  • said creating empty arry was bad idea then spent 15 min using it in an example
  • talking about prototypes but havent done protypal inheritance yet?
  • jumps from node to browser stuff with no warning, hard to follow
  • if people aren't asking questions its mostly because they dont know what is going on
  • never say easy or basically
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment