• Like
  • Save

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Caracteristicas de Ruby

  • 4,187 views
Published

Presentación de Ruby, destacando las características más interesantes del lenguaje desde un punto de vista cualitativo. Poco código en la presentación ya que va a ser usado con live coding con el IRB.

Presentación de Ruby, destacando las características más interesantes del lenguaje desde un punto de vista cualitativo. Poco código en la presentación ya que va a ser usado con live coding con el IRB.

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
4,187
On SlideShare
0
From Embeds
0
Number of Embeds
5

Actions

Shares
Downloads
0
Comments
0
Likes
2

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • 00-Intro.rb IRB Puts Arrays/Hash Definición de clases
  • En Ruby todo es un Objeto y todo es un mensaje class.methods =>, +1 unless/if
  • Everyone has an individual background. Someone may come from Python, someone else may come from Perl, and they may be surprised by different aspects of the language. Then they come up to me and say, "I was surprised by this feature of the language, so therefore Ruby violates the principle of least surprise." Wait. Wait. The principle of least surprise is not for you only. The principle of least surprise means principle of least my surprise. And it means the principle of least surprise after you learn Ruby very well. For example, I was a C++ programmer before I started designing Ruby. I programmed in C++ exclusively for two or three years. And after two years of C++ programming, it still surprised me
  • Fácil de leer, endender y pocos errores attr_accesors /ensure
  • Menos código
  • “ in that the best programming style I think is usually minimal, it's simple and direct and it's expressive and that simplicity can be beautiful. “ Eliminar la vervosidad Un Hola mundo de 1 linea
  • Explicar * Duck typing * Mixims * Open Class/Methods * Hooks? Ver la cara de los pibes para meterme con “AOP”

Transcript

  • 1. Ruby ...making developers truly happy Gustavo Andrés Brey Coding Architect UTN FRBA
  • 2. Ruby algo de historia Pensado para la felicidad de programadores 2004, Ruby on Rails lo llevó a la fama 1993 by Yukihiro “Matz” Matsumoto
  • 3. Ruby filosofía “ We need to focus on humans, on how humans care about doing programming or operating the aplication of the machine. We are the masters.They are the slaves”
  • 4. Ruby es un lenguaje dinámico y Orientado a Objetos Lo mejor de dos mundos... Scripting Expresiones regulares Manejo de strings Objetos Dinámico Virtual Machine Closures (Bloques) Y muchos más... Perl Smalltalk
  • 5. Ruby principios Fácil de aprender Codigo expresivo Principio de la menor sorpresa Sintaxis limpia Productivo Minimalista
  • 6. Fácil de aprender
  • 7. Código Expresivo
  • 8. Principio de la menor sorpresa
  • 9. Sintaxis limpia
  • 10. Productivo
  • 11. Minimalista
  • 12.
    • Objetos
    • Closures
    • Orientado a Humanos
    • Dinámico
    Ruby es poderoso ¡Simple!
  • 13. Gracias! ["gusbrey", "@", "gmail.com"].join