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
460
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
190
Decorating JavaScript - source{d} edition
serabe
1
96
Componentes: DD
serabe
0
220
Introducción a JSONAPI
serabe
1
130
Bienvenidos a Ember Madrid
serabe
2
190
Lo que la cafeína le hizo a JS
serabe
1
200
Lo que la cafeína le hizo a JS
serabe
1
2.9k
Taller de Introducción a Ember.JS
serabe
1
170
Generadores en JavaScript
serabe
1
500
Other Decks in Programming
See All in Programming
Git Lint
bkuhlmann
4
750
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
520
Node.js v22 で変わること
yosuke_furukawa
PRO
9
3.2k
Snowflakeで眠ったデータを起こそう!
estie
0
120
Netty Chicago Java User Group 2024-04-17
sullis
0
170
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
使ってみよう Azure AI Document Intelligence
kosmosebi
2
300
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
410
"config" ってなんだ? / What is "config"?
okashoi
0
240
大規模UIKitベースアプリへのTCAの段階的導入/gradual-adoption-of-tca-in-a-large-scale-uikit-based-app
takehilo
1
140
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
PostmanでAPIの動作確認が楽になった話
h455h1
0
170
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
60
3.9k
BBQ
matthewcrist
80
8.8k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
Principles of Awesome APIs and How to Build Them.
keavy
121
16k
Happy Clients
brianwarren
92
6.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
243
12k
Building Your Own Lightsaber
phodgson
99
5.7k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Building Adaptive Systems
keathley
31
1.9k
Designing with Data
zakiwarfel
96
4.8k
4 Signs Your Business is Dying
shpigford
175
21k
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