Professional Documents
Culture Documents
Why I Love Ruby Than X
Why I Love Ruby Than X
by Samnang Chhhun
#DevCamp
#ShareVisionTeam
Who Care?
Why Ruby?
Java
Ruby
Whats 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
Why Ruby?
Communities
Simplicity
Array
Hash
Range
Methods
Mixins
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)
Reflection
Monkey Patch
Objects and classes are open
Add method to object even at Runtime!
Encourage testing
Test::Unit builds in into standard libraries Other tools
RSpec Cucumber
DSL
Libraries in Ruby
How to learn?
irb (Interactive Ruby Shell) http://tryruby.org/ http://rubylearning.com/
Question?
Thank you!