×
Copy
Open
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
THERE WILL BE JAVASCRIPT
Slide 2
Slide 2 text
I’m here to convince you to start learning JavaScript
Slide 3
Slide 3 text
@mmozuras
Slide 4
Slide 4 text
No content
Slide 5
Slide 5 text
SUCKS JAVASCRIPT LET’S GET THIS OUT OF THE WAY...
Slide 6
Slide 6 text
> 0.1 + 0.2
Slide 7
Slide 7 text
> 0.1 + 0.2 0.30000000000000004
Slide 8
Slide 8 text
> false == “0”
Slide 9
Slide 9 text
> false == “0” true
Slide 10
Slide 10 text
> NaN === NaN
Slide 11
Slide 11 text
> NaN === NaN false
Slide 12
Slide 12 text
> {} + []
Slide 13
Slide 13 text
> {} + [] 0
Slide 14
Slide 14 text
> var i = “1” > i++ > i
Slide 15
Slide 15 text
> var i = “1” > i++ > i 2
Slide 16
Slide 16 text
> var i = “1” > i+=1 > i
Slide 17
Slide 17 text
> var i = “1” > i+=1 > i 11
Slide 18
Slide 18 text
JavaScript: The Good Parts
Slide 19
Slide 19 text
Ok, so JavaScript is not perfect...
Slide 20
Slide 20 text
Your favorite language sucks too
Slide 21
Slide 21 text
JS is faster than other dynamic langs: Ruby, PHP, Python...
Slide 22
Slide 22 text
demo
Slide 23
Slide 23 text
It’s all about the trade-offs
Slide 24
Slide 24 text
THERE WILL BE JAVASCRIPT ON THE SERVER
Slide 25
Slide 25 text
OMG, NODE.JS IS TOTALLY AMAZING
Slide 26
Slide 26 text
Node demo
Slide 27
Slide 27 text
~25000 npm packages
Slide 28
Slide 28 text
Including web frameworks like Express and Tower (MVC)
Slide 29
Slide 29 text
Used in production by companies like LinkedIn and rdio
Slide 30
Slide 30 text
Meteor demo
Slide 31
Slide 31 text
Meteor, SocketStream, Derby...
Slide 32
Slide 32 text
THERE WILL BE JAVASCRIPT IN GAMES
Slide 33
Slide 33 text
WebGL
Slide 34
Slide 34 text
voxel.js demo
Slide 35
Slide 35 text
No content
Slide 36
Slide 36 text
No content
Slide 37
Slide 37 text
THERE WILL BE JAVASCRIPT IN THE DATABASE
Slide 38
Slide 38 text
MongoDB, CouchDB, Persevere...
Slide 39
Slide 39 text
MongoDB shell - all JavaScript > db.people.find({_id: 10})
Slide 40
Slide 40 text
THERE WILL BE JAVASCRIPT ON MOBILE DEVICES
Slide 41
Slide 41 text
No content
Slide 42
Slide 42 text
No content
Slide 43
Slide 43 text
THERE WILL BE JAVASCRIPT THE WAY YOU LIKE IT
Slide 44
Slide 44 text
Want Ruby & Python? Coffeescript
Slide 45
Slide 45 text
Want Clojure? Clojurescript
Slide 46
Slide 46 text
Want Java? Dart
Slide 47
Slide 47 text
Want Microsoft... static typing? Typescript
Slide 48
Slide 48 text
And there’s half a dozen of others...
Slide 49
Slide 49 text
Personally I prefer: JavaScript
Slide 50
Slide 50 text
THERE WILL BE JAVASCRIPT EVERYWHERE
Slide 51
Slide 51 text
Everything that can be written in JS, will eventually be written in JS Atwood’s Law
Slide 52
Slide 52 text
github.com/languages JavaScript 21%
Slide 53
Slide 53 text
You can use 5 languages. Or you can learn JavaScript
Slide 54
Slide 54 text
JavaScript - the only language people feel they don't need to learn before they start using it. Douglas Crockford
Slide 55
Slide 55 text
IS AWESOME JAVASCRIPT
Slide 56
Slide 56 text
codingfearlessly.com twitter.com/mmozuras github.com/mmozuras thanks!