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
El diablo está en los detalles
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Sergio Arbeo
October 19, 2013
Programming
0
680
El diablo está en los detalles
Sergio Arbeo
October 19, 2013
Tweet
Share
More Decks by Sergio Arbeo
See All by Sergio Arbeo
Testing sin Dogmas
serabe
0
240
Decorating JavaScript - source{d} edition
serabe
1
150
Componentes: DD
serabe
0
380
Introducción a JSONAPI
serabe
1
190
Bienvenidos a Ember Madrid
serabe
2
220
Lo que la cafeína le hizo a JS
serabe
1
230
Lo que la cafeína le hizo a JS
serabe
1
3k
Taller de Introducción a Ember.JS
serabe
1
210
Generadores en JavaScript
serabe
1
520
Other Decks in Programming
See All in Programming
CSC307 Lecture 05
javiergs
PRO
0
500
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.6k
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
480
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
140
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
210
Patterns of Patterns
denyspoltorak
0
1.4k
ぼくの開発環境2026
yuzneri
0
240
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
280
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
210
AgentCoreとHuman in the Loop
har1101
5
240
CSC307 Lecture 06
javiergs
PRO
0
690
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
What's in a price? How to price your products and services
michaelherold
247
13k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
67
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
420
Google's AI Overviews - The New Search
badams
0
910
Everyday Curiosity
cassininazir
0
130
We Have a Design System, Now What?
morganepeng
54
8k
What does AI have to do with Human Rights?
axbom
PRO
0
2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
170
Transcript
@serabe - CodeCantor Sergio Arbeo El diablo está en los
detalles
@serabe - CodeCantor Sergio Arbeo No soy Jean Valjean
@serabe - CodeCantor Sergio Arbeo Para Javier Ramírez ¡Me cago
en los muertos de Lisp, Modula-2 y Smalltalk!* *Y en el API de teowaki
Programadores @serabe - CodeCantor Sergio Arbeo ¿Qué somos?
@serabe - CodeCantor Sergio Arbeo Lenguaje natural
@serabe - CodeCantor Sergio Arbeo Pensamiento programador
@serabe - CodeCantor Sergio Arbeo Consecuencias de errores de diseño
@serabe - CodeCantor Sergio Arbeo El pasado te persigue Peras
Manzanas
@serabe - CodeCantor Sergio Arbeo CoffeeScript Regexing cup of CoffeeScript
@serabe - CodeCantor Sergio Arbeo El código original
@serabe - CodeCantor Sergio Arbeo En JavaScript Chrome 32 Firefox
24 Safari 6.0.5 Opera 12.16
@serabe - CodeCantor Sergio Arbeo En JavaScript (NodeJS)
@serabe - CodeCantor Sergio Arbeo En CoffeeScript
@serabe - CodeCantor Sergio Arbeo En CoffeeScript
@serabe - CodeCantor Sergio Arbeo CoffeeScript src/lexer.coffee
La oveja negra de jQuery @serabe - CodeCantor Sergio Arbeo
jQuery
1. $.each 2. .each @serabe - CodeCantor Sergio Arbeo each
y map 1. $.map 2. .map
1. $.each 2. .each @serabe - CodeCantor Sergio Arbeo each
y map 1. $.map 2. .map
1. $.each 2. .each @serabe - CodeCantor Sergio Arbeo each
y map 1. $.map 2. .map
@serabe - CodeCantor Sergio Arbeo each
@serabe - CodeCantor Sergio Arbeo each: primer argumento
@serabe - CodeCantor Sergio Arbeo each: segundo argumento
@serabe - CodeCantor Sergio Arbeo each: segundo argumento More importantly,
the callback is fired in the context of the current DOM element, so the keyword this refers to the element.
@serabe - CodeCantor Sergio Arbeo each: segundo argumento
@serabe - CodeCantor Sergio Arbeo map
@serabe - CodeCantor Sergio Arbeo map: primer argumento
@serabe - CodeCantor Sergio Arbeo map: segundo argumento
@serabe - CodeCantor Sergio Arbeo map
@serabe - CodeCantor Sergio Arbeo map: primer argumento
@serabe - CodeCantor Sergio Arbeo map: segundo argumento
@serabe - CodeCantor Sergio Arbeo this en .map Within the
callback function, this refers to the current DOM element for each iteration.
@serabe - CodeCantor Sergio Arbeo this en $.map Within the
function, this refers to the global (window) object.
@serabe - CodeCantor Sergio Arbeo .each Vs. .map
@serabe - CodeCantor Sergio Arbeo .each Vs. .map
Horrible descubrimiento @serabe - CodeCantor Sergio Arbeo OMG
@serabe - CodeCantor Sergio Arbeo Horrible descubrimiento 1 byte =
8 bits 1 kilobyte = 1024 bytes 1 megabyte = 1024 kilobytes 1 gigabyte = 1024 megabytes 1 terabyte = 1024 gigabytes 1 petabyte = 1024 terabytes
@serabe - CodeCantor Sergio Arbeo Horrible descubrimiento 1 byte =
8 bits 1 kilobyte = 1000 bytes 1 megabyte = 1000 kilobytes 1 gigabyte = 1000 megabytes 1 terabyte = 1000 gigabytes 1 petabyte = 1000 terabytes
@serabe - CodeCantor Sergio Arbeo Horrible descubrimiento 1 byte =
8 bits 1 kibibyte = 1024 bytes 1 mebibyte = 1024 kibibytes 1 gibibyte = 1024 mebibytes 1 tebibyte = 1024 gibibytes 1 pebibyte = 1024 tebibytes Desde 1998
Ruby es muy suyo @serabe - CodeCantor Sergio Arbeo Ruby
@serabe - CodeCantor Sergio Arbeo Una clase cualquiera
@serabe - CodeCantor Sergio Arbeo Una comparación cualquiera false
@serabe - CodeCantor Sergio Arbeo Otra comparación cualquiera false
@serabe - CodeCantor Sergio Arbeo Una comparación no tan cualquiera
true
@serabe - CodeCantor Sergio Arbeo Una comparación no tan cualquiera
true ¿ ?
@serabe - CodeCantor Sergio Arbeo Una comparación no tan cualquiera
true ¿ ? ¿ ?
@serabe - CodeCantor Sergio Arbeo Array#==
@serabe - CodeCantor Sergio Arbeo Array#==
@serabe - CodeCantor Sergio Arbeo Funciona true false
@serabe - CodeCantor Sergio Arbeo Array#==
@serabe - CodeCantor Sergio Arbeo Array#==
@serabe - CodeCantor Sergio Arbeo arr_eq2 funciona como Array#== Ambos
true
Aunque el funcionamiento viola el Principio de la Mínima Sorpresa,
la documentación es correcta. @serabe - CodeCantor Sergio Arbeo Misterio resuelto
Aunque el funcionamiento viola el Principio de la Mínima Sorpresa,
la documentación es correcta. @serabe - CodeCantor Sergio Arbeo Misterio resuelto O no.
@serabe - CodeCantor Sergio Arbeo Otra clase
@serabe - CodeCantor Sergio Arbeo Otra comparación false
@serabe - CodeCantor Sergio Arbeo Comprobando false true
@serabe - CodeCantor Sergio Arbeo ¿Qué mierdas pasa?
@serabe - CodeCantor Sergio Arbeo ¿Qué mierdas pasa? P*to sinsentido
@serabe - CodeCantor Sergio Arbeo Rubinius Array#== (I) kernel/common/array.rb
@serabe - CodeCantor Sergio Arbeo Rubinius Array#== (II) kernel/common/array.rb
@serabe - CodeCantor Sergio Arbeo Rubinius Array#== (III) kernel/common/array.rb
@serabe - CodeCantor Sergio Arbeo Rubinius Array#== (III) kernel/common/array.rb
A pesar de estos detalles*, @serabe - CodeCantor Sergio Arbeo
Pero me gusta Me encanta Ruby *Y no me mentes Enumerator::Lazy
@serabe - CodeCantor Sergio Arbeo Pero me gusta Me gusta
jQuery
@serabe - CodeCantor Sergio Arbeo Pero me gusta No puedo
vivir sin CoffeeScript
Gracias @serabe - CodeCantor Sergio Arbeo Snape mata a Dumbledore
@serabe /Serabe