Skip to content

Instantly share code, notes, and snippets.

@bebraw
Last active December 11, 2015 14:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bebraw/4617841 to your computer and use it in GitHub Desktop.
Save bebraw/4617841 to your computer and use it in GitHub Desktop.

JS Developer's Survival Guide

  • Welcome to the Jungle - Guns N' Roses - jungle.asyncjs.com
  • JavaScript Garden?
  • Special Features
    • Hoisting (scope!)
    • Closures (and how to get most out of those)
    • Prototypes (vs. classes as in Java etc.)
    • ???
  • Common Problems
    • var -> highlight globals!
    • function -> define shortcut, use another language? (CS and such)
    • pyramid of doom -> promises, futures, Rx?
    • equality -> it's a mess, use jshint or jslint to remind you
    • hard to find libraries -> use JSter and such
  • Modules
    • AMD
    • CommonJS (Node!)
    • Harmony
    • Transpilers (AMD -> Node, vice versa + Harmony, not 1-1 always)
  • Package Managers
    • Frontend - too many, maybe mention bower (component.json)
    • Backend - Node NPM, use it
  • Build Systems
    • Benefits (minification, improved dev env (LiveReload, precompilers)
    • grunt, jake? others?
  • Boilerplates
    • yeoman
    • ???
  • Demo Time
    • Maybe show a full stack project here and discuss it
  • I will survive - Gloria Gaynor
  • ???
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment