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
150
Other Decks in Programming
See All in Programming
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
170
ThorVG Viewer In VS Code
nors
0
760
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
390
Patterns of Patterns
denyspoltorak
0
1.4k
AgentCoreとHuman in the Loop
har1101
5
220
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
140
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
AIエージェントの設計で注意するべきポイント6選
har1101
7
3.4k
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.8k
Architectural Extensions
denyspoltorak
0
270
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
440
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
400
Darren the Foodie - Storyboard
khoart
PRO
2
2.3k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Writing Fast Ruby
sferik
630
62k
The Cult of Friendly URLs
andyhume
79
6.8k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
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/