Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Você realmente sabe JavaScript?
Search
Plínio Balduino
May 21, 2012
Programming
4
150
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
Tweet
Share
More Decks by Plínio Balduino
See All by Plínio Balduino
Entenda LISP em 15 minutos
pbalduino
1
160
Other Decks in Programming
See All in Programming
モダンOBSプラグイン開発
umireon
0
180
おれのAgentic Coding 2026/03
tsukasagr
1
120
[PHPerKaigi 2026]PHPerKaigi2025の企画CodeGolfが最高すぎて社内で内製して半年運営して得た内製と運営の知見
ikezoemakoto
0
300
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
340
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
1.4k
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
150
20260320登壇資料
pharct
0
130
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
110
Understanding Apache Lucene - More than just full-text search
spinscale
0
140
2026-03-27 #terminalnight 変数展開とコマンド展開でターミナル作業をスマートにする方法
masasuzu
0
230
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
170
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
300
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
150
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
880
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
400
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
120
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
230
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
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/