Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Você realmente sabe JavaScript?
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Plínio Balduino
May 21, 2012
Programming
160
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Você realmente sabe JavaScript?
Apresentação feita no 20º GURU-SP, em 26/11/2011 no auditório da Editora Abril
Plínio Balduino
May 21, 2012
More Decks by Plínio Balduino
See All by Plínio Balduino
Entenda LISP em 15 minutos
pbalduino
1
170
Other Decks in Programming
See All in Programming
カツオ、ご期待ください
suneo3476
0
190
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2k
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
6.6k
Railsバージョンを4倍にした話
optim
0
350
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
880
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Jetpack Compose Mechanisms
skydoves
3
820
sbt 2.0: takeoff
eed3si9n
0
160
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
390
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Why Our Code Smells
bkeepers
PRO
340
58k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
Paper Plane (Part 1)
katiecoart
PRO
2
12k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The SEO Collaboration Effect
kristinabergwall1
1
590
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
540
Transcript
Você realmente sabe JavaScript?
20º encontro do GURU-SP 26/11/2011
Eu Plínio Balduino - desenvolvedor e curioso @p_balduino
Motivação
Um pouco de história Criado em 1995 por Brendan Eich
Submetido ao ECMA em 1996
Nos primórdios... Quem nunca usou aqueles scripts prontos nas páginas
do Geocities?
Nos primórdios... Eu já /o\
Definição JavaScript é uma linguagem: - Dinâmica - Orientada a
objetos - Prototipada - Funcional - Muito mais legal do que parece
Definição
Dinâmica Como o Ruby
Orientada a objetos
Prototipada Ao invés de herança, aqui é usada prototipação
Funcional Minha parte preferida JS is Lisp in C's Clothing
Douglas Crockford
Funcional Você pode, e deve, passar funções como parâmetros
Funcional Também é permitido que uma função retorne outra função
Funcional jQuery usa isso O TEMPO INTEIRO
O retorno dos parênteses
Tratamento de erros Pode pular que é raso
JSON JavaScript Object Notation É a forma mais simples e
rápida de criar ou transmitir objetos JavaScript Use JSON ao invés de XML quando usar AJAX e seja feliz No Rails é gerado automagicamente usando o b j e t o . t o _ j s o n ou r e n d e r : j s o n = > o b j e c t
JSON
JavaScript não é só web Ele está em toda parte
None
Em sua próxima aplicação... Por que não usar uma linguagem
realmente poderosa e produtiva?
Perguntas?
Referências - http://javascript.crockford.com/javascript.html - http://en.wikipedia.org/wiki/Javascript - http://en.wikipedia.org/wiki/Scheme_(programming_language) - http://stackoverflow.com/q/16509 -
http://mitpress.mit.edu/sicp/ - http://dynjs.org/