Upgrade to Pro — share decks privately, control downloads, hide ads and more …

El diablo está en los detalles

El diablo está en los detalles

Avatar for Sergio Arbeo

Sergio Arbeo

October 19, 2013
Tweet

More Decks by Sergio Arbeo

Other Decks in Programming

Transcript

  1. @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
  2. @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.
  3. @serabe - CodeCantor Sergio Arbeo this en .map Within the

    callback function, this refers to the current DOM element for each iteration.
  4. @serabe - CodeCantor Sergio Arbeo this en $.map Within the

    function, this refers to the global (window) object.
  5. @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
  6. @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
  7. @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
  8. Aunque el funcionamiento viola el Principio de la Mínima Sorpresa,

    la documentación es correcta. @serabe - CodeCantor Sergio Arbeo Misterio resuelto
  9. Aunque el funcionamiento viola el Principio de la Mínima Sorpresa,

    la documentación es correcta. @serabe - CodeCantor Sergio Arbeo Misterio resuelto O no.
  10. A pesar de estos detalles*, @serabe - CodeCantor Sergio Arbeo

    Pero me gusta Me encanta Ruby *Y no me mentes Enumerator::Lazy