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
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
210
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.2k
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
150
Pythonスレッドとは結局何なのか? CPython実装から見るNoGIL時代の変化
curekoshimizu
5
1.6k
monorepo の Go テストをはやくした〜い!~最小の依存解決への道のり~ / faster-testing-of-monorepos
convto
2
440
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
790
CSC509 Lecture 05
javiergs
PRO
0
300
CSC305 Lecture 03
javiergs
PRO
0
240
What's new in Spring Modulith?
olivergierke
1
120
iOS 17で追加されたSubscriptionStoreView を利用して5分でサブスク実装チャレンジ
natmark
0
650
開発生産性を上げるための生成AI活用術
starfish719
2
210
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
120
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Code Review Best Practice
trishagee
72
19k
For a Future-Friendly Web
brad_frost
180
9.9k
Building an army of robots
kneath
306
46k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Code Reviewing Like a Champion
maltzj
525
40k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
20k
How to Ace a Technical Interview
jacobian
280
24k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
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