Why i love ruby than x

2,101 views

Published on

Published in: Technology, Education
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,101
On SlideShare
0
From Embeds
0
Number of Embeds
197
Actions
Shares
0
Downloads
18
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Why i love ruby than x

  1. 1. Why I love Ruby than X by Samnang Chhhun #DevCamp #ShareVisionTeam
  2. 2. Who Care?
  3. 3. Why Ruby?• Java• Ruby
  4. 4. What’s Ruby?• Interpreted Scripting Language• Ruby was first released on July 95 by a Japanese nut (Yukihiro Matz Matsumoto).• An 100% OO language (well, 99.9%)• Dynamically typed language• Concise. Simple. Fun!• Multi-platforms
  5. 5. SmalltalkPerlLispSchemePythonCLUEiffelAdaDylan
  6. 6. “Ruby is designed to make programmers happy.” Matz
  7. 7. Why Ruby?
  8. 8. Communities
  9. 9. Simplicity
  10. 10. Everything in Ruby is Object
  11. 11. Array
  12. 12. Hash
  13. 13. Range
  14. 14. Methods
  15. 15. Mixins
  16. 16. Duck Typing If it walks like a duck, And talks like a duck,Then we can treat it like a duck. (who cares what it really is)
  17. 17. Reflection
  18. 18. Monkey Patch• Objects and class are open – Add method to object even at Runtime!• Might be dangerous or break some stuff – But its awesome
  19. 19. Encourage testing• Test::Unit builds in into standard libraries• Other tools – RSpec – Cucumber –…
  20. 20. DSL
  21. 21. Libraries in Ruby
  22. 22. It’s all about Freedom
  23. 23. How to learn?• irb (Interactive Ruby Shell)• http://tryruby.org/• http://rubylearning.com/
  24. 24. Question? Thank you!

×