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
620
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
230
Decorating JavaScript - source{d} edition
serabe
1
130
Componentes: DD
serabe
0
350
Introducción a JSONAPI
serabe
1
180
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
200
Generadores en JavaScript
serabe
1
510
Other Decks in Programming
See All in Programming
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
0
380
CI_CD「健康診断」のススメ。現場でのボトルネック特定から、健康診断を通じた組織的な改善手法
teamlab
PRO
0
180
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
340
エンジニアとして高みを目指す、 利益を生み出す設計の考え方 / design-for-profit
minodriven
23
12k
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
370
ソフトウェア設計の実践的な考え方
masuda220
PRO
3
490
プログラミングどうやる? ~テスト駆動開発から学ぶ達人の型~
a_okui
0
190
CSC509 Lecture 04
javiergs
PRO
0
300
クラシルを支える技術と組織
rakutek
0
190
明日から始めるリファクタリング
ryounasso
0
120
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
150
CSC305 Lecture 03
javiergs
PRO
0
230
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Building an army of robots
kneath
306
46k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
51k
Building Adaptive Systems
keathley
43
2.8k
How STYLIGHT went responsive
nonsquared
100
5.8k
Agile that works and the tools we love
rasmusluckow
331
21k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
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