Skip to content

Instantly share code, notes, and snippets.

@annem
Last active August 29, 2015 14:07
Show Gist options
  • Save annem/73b2a8ff65063cb29024 to your computer and use it in GitHub Desktop.
Save annem/73b2a8ff65063cb29024 to your computer and use it in GitHub Desktop.
Notes from js meetup - Oct 7
function times(x){
return function(y) {
return(x*y);
}
}
//the value you pass in for x will always be trapped in the closure function.
// terminology
// Partial appliction
// Hackell Curry
// Currying
// functor
var blah = times(x);
blah(10);
times(4)(7);
_.map([1,2,3], times)
_.map(_.map([1,2,3], times), function(func, index){return func(index)})
//-----------------------------------------------------------------------
Masonry.js
Isotope.js
maplace.js
//----------------------------------------------------------------------
Yoemon - generator ecosystem
Two guys behind it are Google
1) initial app scoffolding
2) subjectors - subgenerator
1100 generators in the ecosystem
Jake made dyno generator
//https://github.com/jhendley25/generator-dyno
generator angular - uses subgenerators
-
https://github.com/yeoman/generator-angular
// usually you install generators globally
yo angular:controller greenvilleJs - subcontroller
yo generator - allows you to create your own generator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment