SlideShare una empresa de Scribd logo
1 de 20
Descargar para leer sin conexión
Objetos en 30'

(o “en busca de un record Guinness” :)

+
Smalltalk superpowers
(o “improvisación programática”)

jueves 31 de octubre de 13
¿Qué es un objeto?

Es una representación de algo, con la que podemos
interactuar.

jueves 31 de octubre de 13
¿Y cómo se interactúa?
Y flaco, le mandamos un mensaje, viteh.

jueves 31 de octubre de 13
¿Y cómo se interactúa?
Y flaco, le mandamos un mensaje, viteh.

Che pepita!
Vola 2
kilometros!
jueves 31 de octubre de 13
¿Y cómo se interactúa?
Y flaco, le mandamos un mensaje, viteh.

Che pepita!
Vola 2
kilometros!
jueves 31 de octubre de 13
Ya está, ¿y ahora?

¿Cómo hago un programa con esos objetos que me
decis?

jueves 31 de octubre de 13
Yataestá, ¿y ahora?
Rece

de la tía l
uisa:
l
Ponemos o
bjetos en
l
el ambient
Hacemos q
e
ue se cono
l
zcan entre
Que se ma
sí
nden men
l
sajes!
Voilá, sírva
se tibio :)
¿Cómo hago un programa con esos objetos que me
decis?

jueves 31 de octubre de 13
Pará, pará, ¿Qué?
l

l

l

En un programa hay muchos
objetos!
Y se van a mandar mensajes
entre ellos ;)
Y todos esos objetos viven
en un lugar, que llamamos
ambiente

jueves 31 de octubre de 13
Pará, pará, ¿Qué?
EL AMBIENTE

l

l

l

En un programa hay muchos
objetos!
Y se van a mandar mensajes
entre ellos ;)
Y todos esos objetos viven
en un lugar, que llamamos
ambiente

jueves 31 de octubre de 13
Polimorfismo

Es la capacidad de poder reemplazar a un objeto por
otro -que puede ser distinto-, y que el que los
estaba usando, ni se entere.

jueves 31 de octubre de 13
Y ahora como hago
-Con fábricas!

jueves 31 de octubre de 13
Y ahora como hago
-Con fábricas!

-¿Algo como esto?
FabricaDeGolondrinas createUnaGolondrina

jueves 31 de octubre de 13
Y ahora como hago
-Con fábricas!

-¿Algo como esto?
FabricaDeGolondrinas createUnaGolondrina

-Bueno, casi...

jueves 31 de octubre de 13
Y ahora como hago
-Con fábricas!

-¿Algo como esto?
FabricaDeGolondrinas createUnaGolondrina

-Bueno, casi...

jueves 31 de octubre de 13

Golondrina new
Clases

l

Son nuestras fábricas

l

Definen las variables

l

Tienen los métodos

jueves 31 de octubre de 13
Herencia

Mecanismo para que varias clases compartan
comportamiento

jueves 31 de octubre de 13
Quiero una demo!!

jueves 31 de octubre de 13
LVL UP

Ahora que sabemos lo básico, derrapemos.

jueves 31 de octubre de 13
El chivo
Si queres hacer un master, en EDM hay lugar!

jueves 31 de octubre de 13
Gracias!
NicoP(asserini) - UTN, UNQ, UNSAM
npasserini@gmail.com

GuilleP(olito) - EDM, INRIA, RMOD
guillermopolito@gmail.com

jueves 31 de octubre de 13

Más contenido relacionado

Destacado

Destacado (10)

Concept3 the design workshop profile
Concept3 the design workshop profileConcept3 the design workshop profile
Concept3 the design workshop profile
 
Going to
Going toGoing to
Going to
 
Friday factoids
Friday factoidsFriday factoids
Friday factoids
 
Globalização
GlobalizaçãoGlobalização
Globalização
 
SAA-B II_2015_Tercera_Nota
SAA-B II_2015_Tercera_NotaSAA-B II_2015_Tercera_Nota
SAA-B II_2015_Tercera_Nota
 
PEMBANGUNAN POLITIK & HUBUNGAN ETNIK
PEMBANGUNAN POLITIK & HUBUNGAN ETNIKPEMBANGUNAN POLITIK & HUBUNGAN ETNIK
PEMBANGUNAN POLITIK & HUBUNGAN ETNIK
 
4º parte
4º parte4º parte
4º parte
 
Corporate Social Responsibility towards Global Warming
Corporate Social Responsibility towards Global WarmingCorporate Social Responsibility towards Global Warming
Corporate Social Responsibility towards Global Warming
 
A Quick Introduction to Redis
A Quick Introduction to RedisA Quick Introduction to Redis
A Quick Introduction to Redis
 
Ejemplos de teorias
Ejemplos de teoriasEjemplos de teorias
Ejemplos de teorias
 

Más de Guille Polito

Run-Fail-Grow: Creating Tailored Object Oriented Runtimes
Run-Fail-Grow: Creating Tailored Object Oriented RuntimesRun-Fail-Grow: Creating Tailored Object Oriented Runtimes
Run-Fail-Grow: Creating Tailored Object Oriented RuntimesGuille Polito
 
PADR - Engineering for Reseach
PADR - Engineering for ReseachPADR - Engineering for Reseach
PADR - Engineering for ReseachGuille Polito
 
First-class undefined classes for Pharo
First-class undefined classes for PharoFirst-class undefined classes for Pharo
First-class undefined classes for PharoGuille Polito
 
Understanding the Pharo dev Process
Understanding the Pharo dev ProcessUnderstanding the Pharo dev Process
Understanding the Pharo dev ProcessGuille Polito
 
Oz Object Spaces - Uqbar Workshop 2013 (spanish)
Oz Object Spaces - Uqbar Workshop 2013 (spanish)Oz Object Spaces - Uqbar Workshop 2013 (spanish)
Oz Object Spaces - Uqbar Workshop 2013 (spanish)Guille Polito
 
Going Native With DBXTalk - Smalltalks 2013
Going Native With DBXTalk - Smalltalks 2013Going Native With DBXTalk - Smalltalks 2013
Going Native With DBXTalk - Smalltalks 2013Guille Polito
 
Virtual Smalltalk Images - IWST - ESUG 2013
Virtual Smalltalk Images - IWST - ESUG 2013Virtual Smalltalk Images - IWST - ESUG 2013
Virtual Smalltalk Images - IWST - ESUG 2013Guille Polito
 
Where am I in my Phd - October 2012
Where am I in my Phd - October 2012Where am I in my Phd - October 2012
Where am I in my Phd - October 2012Guille Polito
 
Bootstrapping a Smalltalk - Smalltalks 2012
Bootstrapping a Smalltalk - Smalltalks 2012Bootstrapping a Smalltalk - Smalltalks 2012
Bootstrapping a Smalltalk - Smalltalks 2012Guille Polito
 
DBXTalk - Smalltalks 2011
DBXTalk - Smalltalks 2011DBXTalk - Smalltalks 2011
DBXTalk - Smalltalks 2011Guille Polito
 

Más de Guille Polito (10)

Run-Fail-Grow: Creating Tailored Object Oriented Runtimes
Run-Fail-Grow: Creating Tailored Object Oriented RuntimesRun-Fail-Grow: Creating Tailored Object Oriented Runtimes
Run-Fail-Grow: Creating Tailored Object Oriented Runtimes
 
PADR - Engineering for Reseach
PADR - Engineering for ReseachPADR - Engineering for Reseach
PADR - Engineering for Reseach
 
First-class undefined classes for Pharo
First-class undefined classes for PharoFirst-class undefined classes for Pharo
First-class undefined classes for Pharo
 
Understanding the Pharo dev Process
Understanding the Pharo dev ProcessUnderstanding the Pharo dev Process
Understanding the Pharo dev Process
 
Oz Object Spaces - Uqbar Workshop 2013 (spanish)
Oz Object Spaces - Uqbar Workshop 2013 (spanish)Oz Object Spaces - Uqbar Workshop 2013 (spanish)
Oz Object Spaces - Uqbar Workshop 2013 (spanish)
 
Going Native With DBXTalk - Smalltalks 2013
Going Native With DBXTalk - Smalltalks 2013Going Native With DBXTalk - Smalltalks 2013
Going Native With DBXTalk - Smalltalks 2013
 
Virtual Smalltalk Images - IWST - ESUG 2013
Virtual Smalltalk Images - IWST - ESUG 2013Virtual Smalltalk Images - IWST - ESUG 2013
Virtual Smalltalk Images - IWST - ESUG 2013
 
Where am I in my Phd - October 2012
Where am I in my Phd - October 2012Where am I in my Phd - October 2012
Where am I in my Phd - October 2012
 
Bootstrapping a Smalltalk - Smalltalks 2012
Bootstrapping a Smalltalk - Smalltalks 2012Bootstrapping a Smalltalk - Smalltalks 2012
Bootstrapping a Smalltalk - Smalltalks 2012
 
DBXTalk - Smalltalks 2011
DBXTalk - Smalltalks 2011DBXTalk - Smalltalks 2011
DBXTalk - Smalltalks 2011
 

Último

DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.pptDE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.pptELENA GALLARDO PAÚLS
 
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptxPPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptxOscarEduardoSanchezC
 
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDUFICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDUgustavorojas179704
 
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdfOswaldoGonzalezCruz
 
Introducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo SostenibleIntroducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo SostenibleJonathanCovena1
 
Heinsohn Privacidad y Ciberseguridad para el sector educativo
Heinsohn Privacidad y Ciberseguridad para el sector educativoHeinsohn Privacidad y Ciberseguridad para el sector educativo
Heinsohn Privacidad y Ciberseguridad para el sector educativoFundación YOD YOD
 
Estrategia de Enseñanza y Aprendizaje.pdf
Estrategia de Enseñanza y Aprendizaje.pdfEstrategia de Enseñanza y Aprendizaje.pdf
Estrategia de Enseñanza y Aprendizaje.pdfromanmillans
 
Lecciones 04 Esc. Sabática. Defendamos la verdad
Lecciones 04 Esc. Sabática. Defendamos la verdadLecciones 04 Esc. Sabática. Defendamos la verdad
Lecciones 04 Esc. Sabática. Defendamos la verdadAlejandrino Halire Ccahuana
 
Unidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parteUnidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parteJuan Hernandez
 
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptxSINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptxlclcarmen
 
Plan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPEPlan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPELaura Chacón
 
BROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtwe
BROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtweBROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtwe
BROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtwealekzHuri
 
RETO MES DE ABRIL .............................docx
RETO MES DE ABRIL .............................docxRETO MES DE ABRIL .............................docx
RETO MES DE ABRIL .............................docxAna Fernandez
 
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARONARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFAROJosé Luis Palma
 
Fundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdfFundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdfsamyarrocha1
 
Factores ecosistemas: interacciones, energia y dinamica
Factores ecosistemas: interacciones, energia y dinamicaFactores ecosistemas: interacciones, energia y dinamica
Factores ecosistemas: interacciones, energia y dinamicaFlor Idalia Espinoza Ortega
 

Último (20)

DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.pptDE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
DE LAS OLIMPIADAS GRIEGAS A LAS DEL MUNDO MODERNO.ppt
 
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptxPPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
PPT GESTIÓN ESCOLAR 2024 Comités y Compromisos.pptx
 
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDUFICHA DE MONITOREO Y ACOMPAÑAMIENTO  2024 MINEDU
FICHA DE MONITOREO Y ACOMPAÑAMIENTO 2024 MINEDU
 
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
5° SEM29 CRONOGRAMA PLANEACIÓN DOCENTE DARUKEL 23-24.pdf
 
Introducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo SostenibleIntroducción:Los objetivos de Desarrollo Sostenible
Introducción:Los objetivos de Desarrollo Sostenible
 
Unidad 4 | Teorías de las Comunicación | MCDI
Unidad 4 | Teorías de las Comunicación | MCDIUnidad 4 | Teorías de las Comunicación | MCDI
Unidad 4 | Teorías de las Comunicación | MCDI
 
Heinsohn Privacidad y Ciberseguridad para el sector educativo
Heinsohn Privacidad y Ciberseguridad para el sector educativoHeinsohn Privacidad y Ciberseguridad para el sector educativo
Heinsohn Privacidad y Ciberseguridad para el sector educativo
 
Estrategia de Enseñanza y Aprendizaje.pdf
Estrategia de Enseñanza y Aprendizaje.pdfEstrategia de Enseñanza y Aprendizaje.pdf
Estrategia de Enseñanza y Aprendizaje.pdf
 
Lecciones 04 Esc. Sabática. Defendamos la verdad
Lecciones 04 Esc. Sabática. Defendamos la verdadLecciones 04 Esc. Sabática. Defendamos la verdad
Lecciones 04 Esc. Sabática. Defendamos la verdad
 
Unidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parteUnidad II Doctrina de la Iglesia 1 parte
Unidad II Doctrina de la Iglesia 1 parte
 
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptxSINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
SINTAXIS DE LA ORACIÓN SIMPLE 2023-2024.pptx
 
Plan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPEPlan Año Escolar Año Escolar 2023-2024. MPPE
Plan Año Escolar Año Escolar 2023-2024. MPPE
 
BROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtwe
BROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtweBROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtwe
BROCHURE EXCEL 2024 FII.pdfwrfertetwetewtewtwtwtwtwtwtwtewtewtewtwtwtwtwe
 
Earth Day Everyday 2024 54th anniversary
Earth Day Everyday 2024 54th anniversaryEarth Day Everyday 2024 54th anniversary
Earth Day Everyday 2024 54th anniversary
 
RETO MES DE ABRIL .............................docx
RETO MES DE ABRIL .............................docxRETO MES DE ABRIL .............................docx
RETO MES DE ABRIL .............................docx
 
Tema 7.- E-COMMERCE SISTEMAS DE INFORMACION.pdf
Tema 7.- E-COMMERCE SISTEMAS DE INFORMACION.pdfTema 7.- E-COMMERCE SISTEMAS DE INFORMACION.pdf
Tema 7.- E-COMMERCE SISTEMAS DE INFORMACION.pdf
 
Power Point: "Defendamos la verdad".pptx
Power Point: "Defendamos la verdad".pptxPower Point: "Defendamos la verdad".pptx
Power Point: "Defendamos la verdad".pptx
 
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARONARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
NARRACIONES SOBRE LA VIDA DEL GENERAL ELOY ALFARO
 
Fundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdfFundamentos y Principios de Psicopedagogía..pdf
Fundamentos y Principios de Psicopedagogía..pdf
 
Factores ecosistemas: interacciones, energia y dinamica
Factores ecosistemas: interacciones, energia y dinamicaFactores ecosistemas: interacciones, energia y dinamica
Factores ecosistemas: interacciones, energia y dinamica
 

Objetos en 30' - Pre Smalltalks 2012 (Spanish)

  • 1. Objetos en 30' (o “en busca de un record Guinness” :) + Smalltalk superpowers (o “improvisación programática”) jueves 31 de octubre de 13
  • 2. ¿Qué es un objeto? Es una representación de algo, con la que podemos interactuar. jueves 31 de octubre de 13
  • 3. ¿Y cómo se interactúa? Y flaco, le mandamos un mensaje, viteh. jueves 31 de octubre de 13
  • 4. ¿Y cómo se interactúa? Y flaco, le mandamos un mensaje, viteh. Che pepita! Vola 2 kilometros! jueves 31 de octubre de 13
  • 5. ¿Y cómo se interactúa? Y flaco, le mandamos un mensaje, viteh. Che pepita! Vola 2 kilometros! jueves 31 de octubre de 13
  • 6. Ya está, ¿y ahora? ¿Cómo hago un programa con esos objetos que me decis? jueves 31 de octubre de 13
  • 7. Yataestá, ¿y ahora? Rece de la tía l uisa: l Ponemos o bjetos en l el ambient Hacemos q e ue se cono l zcan entre Que se ma sí nden men l sajes! Voilá, sírva se tibio :) ¿Cómo hago un programa con esos objetos que me decis? jueves 31 de octubre de 13
  • 8. Pará, pará, ¿Qué? l l l En un programa hay muchos objetos! Y se van a mandar mensajes entre ellos ;) Y todos esos objetos viven en un lugar, que llamamos ambiente jueves 31 de octubre de 13
  • 9. Pará, pará, ¿Qué? EL AMBIENTE l l l En un programa hay muchos objetos! Y se van a mandar mensajes entre ellos ;) Y todos esos objetos viven en un lugar, que llamamos ambiente jueves 31 de octubre de 13
  • 10. Polimorfismo Es la capacidad de poder reemplazar a un objeto por otro -que puede ser distinto-, y que el que los estaba usando, ni se entere. jueves 31 de octubre de 13
  • 11. Y ahora como hago -Con fábricas! jueves 31 de octubre de 13
  • 12. Y ahora como hago -Con fábricas! -¿Algo como esto? FabricaDeGolondrinas createUnaGolondrina jueves 31 de octubre de 13
  • 13. Y ahora como hago -Con fábricas! -¿Algo como esto? FabricaDeGolondrinas createUnaGolondrina -Bueno, casi... jueves 31 de octubre de 13
  • 14. Y ahora como hago -Con fábricas! -¿Algo como esto? FabricaDeGolondrinas createUnaGolondrina -Bueno, casi... jueves 31 de octubre de 13 Golondrina new
  • 15. Clases l Son nuestras fábricas l Definen las variables l Tienen los métodos jueves 31 de octubre de 13
  • 16. Herencia Mecanismo para que varias clases compartan comportamiento jueves 31 de octubre de 13
  • 17. Quiero una demo!! jueves 31 de octubre de 13
  • 18. LVL UP Ahora que sabemos lo básico, derrapemos. jueves 31 de octubre de 13
  • 19. El chivo Si queres hacer un master, en EDM hay lugar! jueves 31 de octubre de 13
  • 20. Gracias! NicoP(asserini) - UTN, UNQ, UNSAM npasserini@gmail.com GuilleP(olito) - EDM, INRIA, RMOD guillermopolito@gmail.com jueves 31 de octubre de 13