js for learning
DESCRIPTION
Quick talk on why js is good for learning and some gotchas. Probably doesn't translate well w/o narrative & live code doeTRANSCRIPT
JavaScript for learning
JS for Learning
JS for Learning
•You use it every day at work
JS for Learning
•You use it every day at work
•You can mold it into a lot of different styles
JS for Learning
•You use it every day at work
•You can mold it into a lot of different styles
•In my experience, it’s the least awkward paradigm
•(live example)
JS for Learning
•You use it every day at work
•You can mold it into a lot of different styles (show examples)
•In my experience, it’s the least awkward paradigm
•Mixed paradigm so you can ease in
•(live example)
•osteele’s functional.js
•lambdajs
•underscore/scoreunder
•fancy
Libraries
Level up
•Start with map/filter/reduce/some/every
•Pure functions within objects
•Play with curry and compose
•Sensible point free
•Category theory
Hurdles
Hurdles
•Where’s the consistency?
Hurdles
•Where’s the consistency?
•Math, math, math
•Haskell: Road to logic by Doets & van Eijck
•Conceptual Mathematics by Lawvere & Schanuel
Hurdles
•No one popular way
•Math, math, math
•Missing a large community
Gotchas
Gotchas
•Eager Evaluation
Gotchas
•Eager Evaluation
•Rewriting language constructs
Gotchas
•Eager Evaluation
•Rewriting language constructs
•Loose variables
Unexpected Delights
Unexpected Delights
•Dynamic type safety
Unexpected Delights
•Dynamic type safety
•Testability
Unexpected Delights
•Dynamic type safety
•Testability
•Compile to JS...but it’s so pretty!