There Will Be JavaScript

There Will Be JavaScript

A presentation about JavaScript I gave at Code-Hat.

B5009f255a6f0c386d40d6143948df8e?s=128

Mindaugas Mozūras

March 14, 2013
Tweet

Transcript

  1. THERE WILL BE JAVASCRIPT

  2. I’m here to convince you to start learning JavaScript

  3. @mmozuras

  4. None
  5. SUCKS JAVASCRIPT LET’S GET THIS OUT OF THE WAY...

  6. > 0.1 + 0.2

  7. > 0.1 + 0.2 0.30000000000000004

  8. > false == “0”

  9. > false == “0” true

  10. > NaN === NaN

  11. > NaN === NaN false

  12. > {} + []

  13. > {} + [] 0

  14. > var i = “1” > i++ > i

  15. > var i = “1” > i++ > i 2

  16. > var i = “1” > i+=1 > i

  17. > var i = “1” > i+=1 > i 11

  18. JavaScript: The Good Parts

  19. Ok, so JavaScript is not perfect...

  20. Your favorite language sucks too

  21. JS is faster than other dynamic langs: Ruby, PHP, Python...

  22. demo

  23. It’s all about the trade-offs

  24. THERE WILL BE JAVASCRIPT ON THE SERVER

  25. OMG, NODE.JS IS TOTALLY AMAZING

  26. Node demo

  27. ~25000 npm packages

  28. Including web frameworks like Express and Tower (MVC)

  29. Used in production by companies like LinkedIn and rdio

  30. Meteor demo

  31. Meteor, SocketStream, Derby...

  32. THERE WILL BE JAVASCRIPT IN GAMES

  33. WebGL

  34. voxel.js demo

  35. None
  36. None
  37. THERE WILL BE JAVASCRIPT IN THE DATABASE

  38. MongoDB, CouchDB, Persevere...

  39. MongoDB shell - all JavaScript > db.people.find({_id: 10})

  40. THERE WILL BE JAVASCRIPT ON MOBILE DEVICES

  41. None
  42. None
  43. THERE WILL BE JAVASCRIPT THE WAY YOU LIKE IT

  44. Want Ruby & Python? Coffeescript

  45. Want Clojure? Clojurescript

  46. Want Java? Dart

  47. Want Microsoft... static typing? Typescript

  48. And there’s half a dozen of others...

  49. Personally I prefer: JavaScript

  50. THERE WILL BE JAVASCRIPT EVERYWHERE

  51. Everything that can be written in JS, will eventually be

    written in JS Atwood’s Law
  52. github.com/languages JavaScript 21%

  53. You can use 5 languages. Or you can learn JavaScript

  54. JavaScript - the only language people feel they don't need

    to learn before they start using it. Douglas Crockford
  55. IS AWESOME JAVASCRIPT

  56. codingfearlessly.com twitter.com/mmozuras github.com/mmozuras thanks!