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
Sergio Arbeo
October 19, 2013
Programming
0
610
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
220
Decorating JavaScript - source{d} edition
serabe
1
130
Componentes: DD
serabe
0
340
Introducción a JSONAPI
serabe
1
170
Bienvenidos a Ember Madrid
serabe
2
210
Lo que la cafeína le hizo a JS
serabe
1
220
Lo que la cafeína le hizo a JS
serabe
1
3k
Taller de Introducción a Ember.JS
serabe
1
190
Generadores en JavaScript
serabe
1
510
Other Decks in Programming
See All in Programming
フロントエンドのパフォーマンスチューニング
koukimiura
6
2.3k
Quality Gates in the Age of Agentic Coding
helmedeiros
PRO
1
100
Understanding Kotlin Multiplatform
l2hyunwoo
0
170
Vibe Codingの幻想を超えて-生成AIを現場で使えるようにするまでの泥臭い話.ai
fumiyakume
18
9.2k
抽象化という思考のツール - 理解と活用 - / Abstraction-as-a-Tool-for-Thinking
shin1x1
1
740
GPUを計算資源として使おう!
primenumber
1
290
MCPで実現できる、Webサービス利用体験について
syumai
7
2k
AIともっと楽するE2Eテスト
myohei
9
3.1k
効率的な開発手段として VRTを活用する
ishkawa
1
180
おやつのお供はお決まりですか?@WWDC25 Recap -Japan-\(region).swift
shingangan
0
150
Claude Code で Astro blog を Pages から Workers へ移行してみた
codehex
0
150
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
700
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
25
1.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Being A Developer After 40
akosma
90
590k
Documentation Writing (for coders)
carmenintech
72
4.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Building a Modern Day E-commerce SEO Strategy
aleyda
42
7.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Adopting Sorbet at Scale
ufuk
77
9.5k
Six Lessons from altMBA
skipperchong
28
3.9k
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